Browse Source

Merge pull request #621 from SusanDoggie/patch-1

Fix for passing wrong arguments while calling fork function
pull/629/head
Balearica 2 years ago committed by GitHub
parent
commit
a8287a99aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/worker/node/spawnWorker.js

2
src/worker/node/spawnWorker.js

@ -11,5 +11,5 @@ let debugPort = 9229; @@ -11,5 +11,5 @@ let debugPort = 9229;
*/
module.exports = ({ workerPath }) => {
debugPort += 1;
return fork(workerPath, { execArgv: [`--debug-port=${debugPort}`] });
return fork(workerPath, [], { execArgv: [`--debug-port=${debugPort}`] });
};

Loading…
Cancel
Save