nesh icon indicating copy to clipboard operation
nesh copied to clipboard

Support passing arguments to node

Open forivall opened this issue 11 years ago • 2 comments

Similar to coffeescript's --nodejs option, it would be nice to be able to pass arguments to node when using nesh.

My use case is that I have a script that I run on start using the -e option, it loads a lot of modules for convenience, and I'd like to use --harmony-proxies to lazy load them (using a pattern similar to what python's nltk does).

forivall avatar Aug 05 '14 21:08 forivall

Fantastic idea! I'd like to use some harmony features too in the near future.

danielgtaylor avatar Aug 06 '14 15:08 danielgtaylor

one could tackle this kind of thing on *nix w/:

node --harmony_proxies `which nesh` --your --nesh --args

ne0zen avatar Mar 10 '15 22:03 ne0zen