From 204dd2a69f6b7ead4e4a46a3b9cff3b833091789 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 16 Aug 2016 20:11:03 +0300 Subject: [PATCH] closes #4948 --- loader.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); };