Closed kon-pas closed 12 months ago
I really like the simplified bun run start
command, but those shebangs are indeed hacky and look almost like typos. I feel this might become a maintenance concern of questions. I also have a gut feeling that the bun run
will be natively supported without the --bun flag? Or what do you think?
I agree. Let's hold off with this for now and just use the --bun
flag. We will see, if this will even be a problem in the future, or just resolves itself in the process.
Thanks!
Fixes #7 Removes the need to explicitly use the
--bun
flag on start:It is more intuitive, because we use
npm run start
.Updated the shebang to determine with which runtime to execute the script. The solution is a bit hacky and inspired by this. Initially, it runs as a shell script to detect and execute further code with either
bun
ornode
. Preventively, updated all shebangs.