top | item 40737205

(no title)

698969 | 1 year ago

I'm guessing this was from a time when they invoking bun on a script was just an alias to run it with node instead, and you had to do a more specific incantation like `bun run index.ts` to actually use the bun runtime.

When did you use it?

discuss

order

prmph|1 year ago

This is probably what happened; it was like almost 2 years ago. Thanks for the explanation

I do think it's a gotcha to run a script with another runtime than the one I launched from the terminal, though. If I launch a script directly with a runtime, I expect it to disregard any shebangs.