From 5e16933c1fd5a12d90853852ce795e79efe499a6 Mon Sep 17 00:00:00 2001 From: Unbug Lee Date: Fri, 28 Jul 2017 23:35:56 +0800 Subject: [PATCH] Arguments supports for start command (#5843) * backport cache fix * backport paste image fix * backport crash fix * up emoji one * Update package.json * backport #5692 * Incremented version number - v1.5.1 * Incremented version number - v1.5.2 * arguments supports for start command remove concat --- nodebb | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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