indexzero/forever — Issue #142: Watch breaks when running script (not as a daemon)
Author: shilov
Created: 2011-10-17 21:50:21+00:00
State: open

The `-w` behaves strangely and not as intended when forever is used to run the script but not as a daemon:

[shilov@mac:/w/nodeproject] master* 02:45:21 PM: forever -w -v nodeproject.js
silly: Forever using options options=[], verbose=true, watch=true, forever=true, sourceDir=/w/nodeproject, uid=48vn, pidFile=48vn.pid, logFile=48vn.log, cwd=/w/nodeproject
info: restaring script because /w/nodeproject/node_modules/winston/lib/winston/common.js changed
info: restaring script because /w/nodeproject/node_modules/winston/lib/winston/config.js changed
info: restaring script because /w/nodeproject/node_modules/winston/lib/winston/container.js changed
info: restaring script because /w/nodeproject/node_modules/winston/lib/winston/exception.js changed
info: restaring script because /w/nodeproject/node_modules/winston/lib/winston/logger.js changed
info: restaring script because /w/nodeproject/node_modules/winston/lib/winston/transports.js changed
info: restaring script because /w/nodeproject/node_modules/winston/node_modules/async/index.js changed
info: restaring script because /w/nodeproject/node_modules/winston/node_modules/async/package.json changed
info: restaring script because /w/nodeproject/node_modules/winston/node_modules/colors/colors.js changed
info: restaring script because /w/nodeproject/node_modules/winston/node_modules/colors/package.json changed
info: restaring script because /w/nodeproject/nodeproject.js changed
info: restaring script because /w/nodeproject/node_modules/winston/node_modules/pkginfo/package.json changed
info: restaring script because /w/nodeproject/node_modules/winston/node_modules/stack-trace/package.json changed
info: restaring script because /w/nodeproject/node_modules/winston/lib/winston/config/cli-config.js changed
info: restaring script because /w/nodeproject/node_modules/winston/lib/winston/config/npm-config.js changed
info: restaring script because /w/nodeproject/node_modules/winston/lib/winston/config/syslog-config.js changed
info: restaring script because /w/nodeproject/node_modules/winston/lib/winston/transports/console.js changed
info: restaring script because /w/nodeproject/node_modules/winston/lib/winston/transports/transport.js changed
info: restaring script because /w/nodeproject/node_modules/winston/node_modules/async/lib/async.js changed
info: restaring script because /w/nodeproject/node_modules/winston/node_modules/pkginfo/lib/pkginfo.js changed
info: restaring script because /w/nodeproject/node_modules/winston/node_modules/stack-trace/lib/stack-trace.js changed
info: restaring script because /w/nodeproject/node_modules/winston/package.json changed
info: restaring script because /w/nodeproject/node_modules/winston/lib/winston.js changed
warn: Forever detected script exited with code: null
warn: Forever restarting script for 1 time
warn: Forever detected script exited with code: null
warn: Forever restarting script for 2 time