diff --git a/lib/forever.js b/lib/forever.js index 1c89ae36..e5d39c2a 100644 --- a/lib/forever.js +++ b/lib/forever.js @@ -420,6 +420,7 @@ forever.startDaemon = function (script, options) { monitor.send(JSON.stringify(options)); monitor.unref(); + return monitor; }; //