having the loader play nicely with supervisor -- ./nodebb watch can now hit the restart button

This commit is contained in:
Julian Lam
2014-02-26 13:42:39 -05:00
parent 3f7e458866
commit 7b46d66e68
2 changed files with 10 additions and 3 deletions

2
nodebb
View File

@@ -37,7 +37,7 @@ 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 supervisor -q --extensions 'node|js|tpl' -- app "$@"
NODE_ENV=development supervisor -q --extensions 'node|js|tpl' -- loader "$@"
;;
*)