On Apr 15, 2015, at 4:35 AM, Aaron Gray wrote: > I need to enable harmony globally (within exec environment space) for > node.js I don't want to have to use io.js though !
I don't think node currently has a feature to do that. If you can't edit your scripts to run "node --harmony", then you could create a wrapper script that would itself call "node --harmony" and then pass on the arguments. You would call this script "node" and put it in another directory, and then put that directory first in your PATH (or before the directory containing the real node executable). This assumes a UNIX-like operating system; I'm not sure how to do the equivalent on Windows. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/99BD0292-54C3-41C7-B503-F11FA9D38441%40ryandesign.com. For more options, visit https://groups.google.com/d/optout.
