Hacker News new | ask | show | jobs
by 698969 724 days 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?

1 comments

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.