Skip to content

Commit f52615c

Browse files
committed
fix: only use fork if node>4
1 parent 2d4ce03 commit f52615c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/monitor/run.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function run(options) {
8383
});
8484
}
8585

86-
if (executable === 'node') {
86+
if (executable === 'node' && utils.version.major > 4) {
8787
var forkArgs = cmd.args.slice(1);
8888
var env = utils.merge(options.execOptions.env, process.env);
8989
stdio.push('ipc');

0 commit comments

Comments
 (0)