Skip to content

Commit

Permalink
[fix] Return monitor from .startDaemon(). Fixes #387. Fixes #389.
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Apr 21, 2013
1 parent bda8604 commit 5fa39ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/forever.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ forever.startDaemon = function (script, options) {

monitor.send(JSON.stringify(options));
monitor.unref();
return monitor;
};

//
Expand Down

0 comments on commit 5fa39ce

Please sign in to comment.