loader now handles arguments and ./nodebb watch command updated to not use loader.

This commit is contained in:
Julian Lam
2014-02-22 03:01:54 -05:00
parent d6a1fad527
commit b64e5870b7
3 changed files with 12 additions and 10 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' -- loader "$@"
NODE_ENV=development supervisor -q --extensions 'node|js|tpl' -- app "$@"
;;
*)