Skip to content

Hot reload fails to tear down app #89

@zoe-codez

Description

@zoe-codez

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions