Use forever.js

This commit is contained in:
Jake 2015-01-31 17:22:23 -06:00
parent f21a67c8bf
commit abeb6116e4
2 changed files with 1 additions and 1 deletions

0
logs/.gitkeep Normal file
View File

View File

@ -22,7 +22,7 @@
],
"scripts": {
"postinstall": "cp 'modules/config.example.js' 'modules/config.js'",
"start": "node bin/www.js",
"start": "forever start -l logs/log.log -o logs/out.log -e logs/error.log -p ./ -a --minUptime 8000 --spinSleepTime 1500 bin/www.js",
"test": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},
"dependencies": {