Skip to content

Commit 2c6800a

Browse files
committed
[api] Expose Monitor.fork for using child_process.fork()
1 parent 7aa72c9 commit 2c6800a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/forever/monitor.js

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ var Monitor = exports.Monitor = function (script, options) {
8383
this.args = options.options || [];
8484
this.spawnWith = options.spawnWith || {};
8585
this.sourceDir = options.sourceDir;
86+
this.fork = options.fork || false;
8687
this.cwd = options.cwd || null;
8788
this.hideEnv = options.hideEnv || [];
8889
this._env = options.env || {};

0 commit comments

Comments
 (0)