diff --git a/lib/forever/cli.js b/lib/forever/cli.js index 057a528e..2281623f 100644 --- a/lib/forever/cli.js +++ b/lib/forever/cli.js @@ -273,8 +273,8 @@ app.cmd('stopall', cli.stopall = function () { }); // -// ### function stopall () -// Stops all currently running forever processes. +// ### function restartall () +// Restarts all currently running forever processes. // app.cmd('restartall', cli.restartAll = function () { var runner = forever.restartAll(true); @@ -289,6 +289,10 @@ app.cmd('restartall', cli.restartAll = function () { forever.log.info('No forever processes running'); } }); + + runner.on('error', function () { + forever.log.info('No forever processes running'); + }); }); //