We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b3d04b commit e442ea9Copy full SHA for e442ea9
lib/forever/cli.js
@@ -273,8 +273,8 @@ app.cmd('stopall', cli.stopall = function () {
273
});
274
275
//
276
-// ### function stopall ()
277
-// Stops all currently running forever processes.
+// ### function restartall ()
+// Restarts all currently running forever processes.
278
279
app.cmd('restartall', cli.restartAll = function () {
280
var runner = forever.restartAll(true);
@@ -289,6 +289,10 @@ app.cmd('restartall', cli.restartAll = function () {
289
forever.log.info('No forever processes running');
290
}
291
292
+
293
+ runner.on('error', function () {
294
+ forever.log.info('No forever processes running');
295
+ });
296
297
298
0 commit comments