Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix api] Expose
checkFile
and fix logical condition
When `checkFile` is set to `false`, `forever` doesn't check if script file exists. This is useful for spawning node with parameters like `--trace-gc`: var forever = require('forever'); var m = new forever.Monitor(['node', '--trace-gc', 'gc.js'], { checkFile: false }); m.start();
- Loading branch information