Closed SebastianBogado closed 6 years ago
Passes down node-specific command line options to the spawned processes.
Example use case: need to increase the heap size so I run:
$ gulp --max_old_space_size=2048 sometask
Note: gulp detects the node flag and respawns the process. Would be like running: $ node --max_old_space_size=2048 ./node_modules/.bin/gulp sometask
Note: gulp detects the node flag and respawns the process. Would be like running:
gulp
$ node --max_old_space_size=2048 ./node_modules/.bin/gulp sometask
Those flags appear as an array at process.execArgv, which are passed down to the children processes in this PR.
process.execArgv
@juanfran I've just run the tests locally with node v0.12.18 and everything was OK. Any clue?
v0.12.18
Thanks for the package btw!
I restarted the test and now it works. Thank for the PR!
Passes down node-specific command line options to the spawned processes.
Example use case: need to increase the heap size so I run:
$ gulp --max_old_space_size=2048 sometask
Those flags appear as an array at
process.execArgv
, which are passed down to the children processes in this PR.