Skip to content

full page reload every server update, HMR, vite #9241

@vqt123

Description

@vqt123

Describe the problem

Vite aggressively reloads the entire app every time there's a server change. API change? Reload. +page.server change? Reload.

Trying to test a big form for instance that constantly resets form values every time you save the action feels so bad.

Rich has this issue open vitejs/vite#7887

but the DX right now because of this is so bad that I beg we have a workaround.

Describe the proposed solution

Coerce someone at vite to address vitejs/vite#7887

or gives us a workaround

Alternatives considered

No response

Importance

i cannot use SvelteKit without it

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions