mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-28 13:36:16 +02:00
noWatch -> hotReload
This commit is contained in:
parent
cfaff61abf
commit
e674079f53
3 changed files with 13 additions and 11 deletions
|
@ -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);
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue