psychobunny 11 years ago
parent 1cd2f060aa
commit 5fba8f541d

@ -99,14 +99,14 @@ case "$1" in
dev)
echo "Launching NodeBB in \"development\" mode."
echo "To run the production build of NodeBB, please use \"forever\"."
echo "More Information: https://github.com/NodeBB/NodeBB/wiki/How-to-run-NodeBB"
echo "More Information: https://docs.nodebb.org/en/latest/running/index.html"
NODE_ENV=development "$node" loader --no-daemon "$@"
;;
watch)
echo "Launching NodeBB in \"development\" mode."
echo "To run the production build of NodeBB, please use \"forever\"."
echo "More Information: https://github.com/NodeBB/NodeBB/wiki/How-to-run-NodeBB"
echo "More Information: https://docs.nodebb.org/en/latest/running/index.html"
NODE_ENV=development supervisor -q --ignore public/templates --extensions 'node|js|tpl|less' -- app "$@"
;;

Loading…
Cancel
Save