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.