Skip to content

Node.js based forum software built for the modern web

closes #4948

barisusakli204dd2a69f6b
diff --git a/loader.js b/loader.js
index 56e4864289..78e3f34a7f 100644
--- a/loader.js
+++ b/loader.js
@@ -207,7 +207,8 @@ function getPorts() {
Loader.restart = function() {
killWorkers();
-
+ nconf.remove('file');
+ nconf.use('file', { file: path.join(__dirname, '/config.json') });
Loader.start();
};