function _checkAppDefaultConfigFile() {
        if (!fs.existsSync(defaultAppConfigFile)) {
            var self = this;
            this.utils.copyFile(fwkConfigFile, defaultAppConfigFile, function(err) {
                if (err) {
                    throw new Error(err);
                }  else {
                    _checkAppConfigFile.call(self);
                }
            });
        } else{
            _checkAppConfigFile.call(this);
        }
    }
/// Copy default server configuration as default app configuration if default app config does not exist.
Copy default server configuration as default app configuration if default app config does not exist.
Copy default server configuration as default app configuration if default app config does not exist .
function _checkAppDefaultConfigFile() {
        if (!fs.existsSync(defaultAppConfigFile)) {
            var self = this;
            this.utils.copyFile(fwkConfigFile, defaultAppConfigFile, function(err) {
                if (err) {
                    throw new Error(err);
                }  else {
                    _checkAppConfigFile.call(self);
                }
            });
        } else{
            _checkAppConfigFile.call(this);
        }
    }
function _checkAppDefaultConfigFile ( ) { if ( ! fs . existsSync ( defaultAppConfigFile ) ) { var self = this ; this . utils . copyFile ( fwkConfigFile , defaultAppConfigFile , function ( err ) { if ( err ) { throw new Error ( err ) ; } else { _checkAppConfigFile . call ( self ) ; } } ) ; } else { _checkAppConfigFile . call ( this ) ; } }
Copy default server configuration as default app configuration if default app config does not exist.
Copy default server configuration as default app configuration if default app config does not exist .