diff --git a/nodebb b/nodebb index 45e0ebaec3..b40409cddb 100755 --- a/nodebb +++ b/nodebb @@ -308,7 +308,7 @@ var commands = { process.stdout.write(' "' + './nodebb restart'.yellow + '" to restart NodeBB\n\n'.reset); // Spawn a new NodeBB process - cproc.fork(loaderPath, { + cproc.fork(loaderPath, process.argv.slice(3), { env: process.env, }); }, diff --git a/package.json b/package.json index 27f763623e..26825c5f7e 100644 --- a/package.json +++ b/package.json @@ -137,4 +137,4 @@ "url": "https://github.com/barisusakli" } ] -} +} \ No newline at end of file