ericclemmons / grunt-express-server

Grunt task for running an Express Server that works great with LiveReload + Watch/Regarde

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add ability to forward arbitrary --nodejs options

gsouza75 opened this issue · comments

For interpreters that call the node executable indirectly (e.g. CoffeeScript, IcedCoffeeScript), it would be nice to have the ability to forward arbitrary arguments like --debug-brk, --max-stack-size to node.

I saw that debug for CoffeeScript was added for issue #37 but I couldn't use it since I am using IcedCoffeeScript and the name of the command I'm using in options.cmd isn't 'coffee'.

Basically, this solves the problem in a more generic way than #37, allowing you to pass arguments other than debug and not only for 'coffee' executables.