fixing start up crash when running with supervisor

This commit is contained in:
psychobunny
2014-04-23 18:31:59 -04:00
parent 5f5906860e
commit 0079964d68

2
nodebb
View File

@@ -101,7 +101,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 --ignore public/templates --extensions 'node|js|tpl' -- loader --no-daemon "$@"
NODE_ENV=development supervisor -q --ignore public/templates --extensions 'node|js|tpl' -- app "$@"
;;
*)