hxnodejs
hxnodejs copied to clipboard
Prefix compiled JS with shebang
It would be cool if we could prefix the output with #!/usr/bin/env node automatically (at least as an opt-in).
Currently I do some wacky Context.onAfterGenerate which together with the compiler server occasionally leads to the prefix being there twice or not at all (although lately it's been fine).