This commit is contained in:
Julian Lam
2014-02-13 22:38:24 -05:00
parent 695891ffd7
commit bbdcd5d460
2 changed files with 27 additions and 4 deletions

6
nodebb
View File

@@ -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)