🐜 Bug description
When using bun run --hot src/main.ts - making changes to the file will boot a new server but it doesn't seem to tear down the old properly.
In combination with a webserver, you can get to about a dozen changes before something internally explodes and nothing will boot. The work around currently is to use nodemon instead, but this ticket is for tracking down why this happens / if there is a way to catch it (maybe a different process event?)
🐜 Bug description
When using
bun run --hot src/main.ts- making changes to the file will boot a new server but it doesn't seem to tear down the old properly.In combination with a webserver, you can get to about a dozen changes before something internally explodes and nothing will boot. The work around currently is to use
nodemoninstead, but this ticket is for tracking down why this happens / if there is a way to catch it (maybe a different process event?)