Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot reload fails to tear down app #89

Open
zoe-codez opened this issue Oct 7, 2024 · 0 comments
Open

Hot reload fails to tear down app #89

zoe-codez opened this issue Oct 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zoe-codez
Copy link
Member

🐜 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?)

@zoe-codez zoe-codez added the bug Something isn't working label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant