src/common/config/index.js
/**
   * Reload all sources of config data
   *
   * @param {boolean} synchronize determines whether or not to emit a synchronize event once config has been reloaded
   * @emits {update} emitted once all data has been loaded and merged
   * @emits {synchronize} emitted when requested by a call to method; used to notify other config instances of changes
   */
Reload all sources of config data
@param {boolean} synchronize determines whether or not to emit a synchronize event once config has been reloaded
@emits {update} emitted once all data has been loaded and merged
@emits {synchronize} emitted when requested by a call to method; used to notify other config instances of changes
Reload all sources of config data @param { boolean } synchronize determines whether or not to emit a synchronize event once config has been reloaded @emits { update } emitted once all data has been loaded and merged @emits { synchronize } emitted when requested by a call to method ; used to notify other config instances of changes
reload(synchronize = false) {
    this.defaultConfigData = this.loadDefaultConfigData();
    this.buildConfigData = this.loadBuildConfigData();
    this.localConfigData = this.loadLocalConfigFile();
    this.localConfigData = this.checkForConfigUpdates(this.localConfigData);
    this.regenerateCombinedConfigData();
    this.emit('update', this.combinedData);
    if (synchronize) {
      this.emit('synchronize');
    }
  }
reload ( synchronize = false ) { this . defaultConfigData = this . loadDefaultConfigData ( ) ; this . buildConfigData = this . loadBuildConfigData ( ) ; this . localConfigData = this . loadLocalConfigFile ( ) ; this . localConfigData = this . checkForConfigUpdates ( this . localConfigData ) ; this . regenerateCombinedConfigData ( ) ; this . emit ( 'update' , this . combinedData ) ; if ( synchronize ) { this . emit ( 'synchronize' ) ; } }
Reload all sources of config data
 @param {boolean} synchronize determines whether or not to emit a synchronize event once config has been reloaded
 @emits {update} emitted once all data has been loaded and merged
 @emits {synchronize} emitted when requested by a call to method; used to notify other config instances of changes
Reload all sources of config data @param { boolean } synchronize determines whether or not to emit a synchronize event once config has been reloaded @emits { update } emitted once all data has been loaded and merged @emits { synchronize } emitted when requested by a call to method ; used to notify other config instances of changes