source/lib/VBConfig.js
// before the config file is fully written

before the config file is fully written
before the config file is fully written
save() {
    if (this.config) {
      try {
        fs.writeFileSync(this.config.configPath,
                         JSON.stringify(this.config, null, 2))
      }
      catch (e) {
        console.log('VBConfig. Unable to save config file:', e)
      }
    }
  }
save ( ) { if ( this . config ) { try { fs . writeFileSync ( this . config . configPath , JSON . stringify ( this . config , null , 2 ) ) } catch ( e ) { console . log ( 'VBConfig. Unable to save config file:' , e ) } } }
before the config file is fully written
before the config file is fully written