You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wait a couple of seconds for it to start spinning.
Stop it using the stopall command:
$ forever stopall
At this time, the stop command does not return (does not complete it's execution), and no more info is added to the logs:
Log Content
/path/to/test.js:1
(function (exports, require, module, __filename, __dirname) { throw new Error("Some error");
^
Error: Some error
at Object.<anonymous> (/path/to/test.js:1:69)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:457:10)
at startup (node.js:136:18)
at node.js:972:3
error: Forever detected script exited with code: 1
error: Script restart attempt #4
/path/to/test.js:1
(function (exports, require, module, __filename, __dirname) { throw new Error("Some error");
^
Error: Some error
at Object.<anonymous> (/tmp/semblano/test.js:1:69)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:457:10)
at startup (node.js:136:18)
at node.js:972:3
error: Forever detected script exited with code: 1
When a child script is spinning and you issue the command
forever stopall
, it kills the child process but not the forever one.How To reproduce
Take this basic script that will 'fail' at startup, and will begin spinning.
test.js
Start it using forever
Wait a couple of seconds for it to start spinning.
Stop it using the stopall command:
At this time, the stop command does not return (does not complete it's execution), and no more info is added to the logs:
Log Content
And the forever process is still running:
The text was updated successfully, but these errors were encountered: