mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-27 17:11:14 +01:00
resolved #997
This commit is contained in:
6
nodebb
6
nodebb
@@ -6,7 +6,7 @@
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
node app
|
||||
node app "$@"
|
||||
;;
|
||||
|
||||
upgrade)
|
||||
@@ -26,14 +26,14 @@ case "$1" in
|
||||
echo "Launching NodeBB in \"development\" mode."
|
||||
echo "To run the production build of NodeBB, please use \"forever\"."
|
||||
echo "More Information: https://github.com/designcreateplay/NodeBB/wiki/How-to-run-NodeBB"
|
||||
NODE_ENV=development node app
|
||||
NODE_ENV=development node app "$@"
|
||||
;;
|
||||
|
||||
watch)
|
||||
echo "Launching NodeBB in \"development\" mode."
|
||||
echo "To run the production build of NodeBB, please use \"forever\"."
|
||||
echo "More Information: https://github.com/designcreateplay/NodeBB/wiki/How-to-run-NodeBB"
|
||||
NODE_ENV=development supervisor -q --extensions 'node|js|tpl' -- app $1
|
||||
NODE_ENV=development supervisor -q --extensions 'node|js|tpl' -- app "$@"
|
||||
;;
|
||||
|
||||
# language)
|
||||
|
||||
Reference in New Issue
Block a user