So I use forever with nodejs to keep my servers up. I need to pass in some v8 options. I can do this via nodejs command line, but how I can do this with forever?
forever start -c "node --harmony" app.js
specify a shell script instead. let the script callnode.sh contain the line
node --debug $1 $2 $3
you may call it from forever like this:
var forever = require('forever-monitor');
forever.start(['./callnode.sh', 'your_process.js', {});
or use the forever cli option -c