-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to set node command line option #141
Comments
I second this. The plugin places all args after the script, but according to the documentation the node cl requires 'options' such as --max-old-space-size (as opposed to 'arguments') to go before the script. Thus, with NodeTask it is impossible to use these options. I did find a workaround, though, for anyone who might need it in the meantime:
|
Merged into master. Will be released in 1.1.0. |
@srs Is there an equivalent of this for NpmTask instead of NodeTask? I've been banging my head against this for a while, but I can't seem to do this for an NPM task. |
I need to set the "--max-old-space-size" command line option for node when running a node task. I haven't found anything to set options for node only to set arguments for the node task being ran. Also, I don't think that "--max-old-space-size" is a node environment variable.
The text was updated successfully, but these errors were encountered: