it's not a binary, why is this in bin?
@@ -22,7 +22,7 @@
],
"scripts": {
"postinstall": "cp 'lib/config.example.js' 'lib/config.js'",
- "start": "forever -l logs/log.log -o logs/out.log -e logs/error.log -p ./ -a --minUptime 8000 --spinSleepTime 1500 bin/www.js",
+ "start": "forever -l logs/log.log -o logs/out.log -e logs/error.log -p ./ -a --minUptime 8000 --spinSleepTime 1500 lib/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"
},
"engines": {
@@ -108,6 +108,6 @@ exp.close = function(callback) {
module.exports = exp;
if (require.main === module) {
- logging.error("Please use 'npm start' or 'bin/www.js'");
+ logging.error("Please use 'npm start' or 'lib/www.js'");
process.exit(1);
}