server.js
function loadSavedState () {
    var output;
    try {
        output = jsonfile.readFileSync(STATE_FILE);
    } catch (ex) {
        winston.info('No previous state found, continuing');
        output = {
            subscriptions: [],
            callback: '',
            history: {},
            version: '0.0.0'
        };
    }
    return output;
}
function loadSavedState () {
    var output;
    try {
        output = jsonfile.readFileSync(STATE_FILE);
    } catch (ex) {
        winston.info('No previous state found, continuing');
        output = {
            subscriptions: [],
            callback: '',
            history: {},
            version: '0.0.0'
        };
    }
    return output;
}
function loadSavedState ( ) { var output ; try { output = jsonfile . readFileSync ( STATE_FILE ) ; } catch ( ex ) { winston . info ( 'No previous state found, continuing' ) ; output = { subscriptions : [ ] , callback : '' , history : { } , version : '0.0.0' } ; } return output ; }
Load the saved previous state from disk
@method loadSavedState
@return {Object} Configuration
Load the saved previous state from disk