noWatch -> hotReload
This commit is contained in:
@@ -71,7 +71,7 @@ function getConfigPath() {
|
||||
function initConfig(cb) {
|
||||
const configPath = getConfigPath();
|
||||
|
||||
config.init(configPath, { keepWsc : true, noWatch : true }, cb);
|
||||
config.init(configPath, { keepWsc : true, hotReload : false }, cb);
|
||||
}
|
||||
|
||||
function initConfigAndDatabases(cb) {
|
||||
@@ -85,7 +85,7 @@ function initConfigAndDatabases(cb) {
|
||||
},
|
||||
function initArchiveUtil(callback) {
|
||||
// ensure we init ArchiveUtil without events
|
||||
require('../../core/archive_util').getInstance(true); // true=noWatch
|
||||
require('../../core/archive_util').getInstance(false); // false=hotReload
|
||||
return callback(null);
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user