Skip to content

[bug] Only 1 hmr update per file is working #229

@aryzing

Description

@aryzing

After changing a file, HMR kicks in and refreshes the UI as expected. However, any subsequent changes to the same file seem to be completely ignored and do not trigger any changes. All files can be modified exactly once before their HMR stops working.

Internally, it seems to crash vite somehow: typing r shortly after starting vite (before any changes to files are made) successfully restarts the vite server. However, after having changed any single file, typing r will cause vite to "freeze" (it doesn't even crash out, just freezes) and stops processing any further changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions