hxnodejs icon indicating copy to clipboard operation
hxnodejs copied to clipboard

Prefix compiled JS with shebang

Open back2dos opened this issue 8 years ago • 0 comments

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).

back2dos avatar Mar 15 '17 10:03 back2dos