Closed zhuzhuaicoding closed 6 months ago
That might have something to do with HMR not yet being implemented for Svelte 5:
23:59:01 [vite-plugin-svelte] Your are using Svelte 5.0.0-next.79. Svelte 5 support is experimental, breaking changes can occur in any release until this notice is removed.
work in progress:
- svelte-inspector is disabled until dev mode implements node to code mapping
- hmr for .svelte files is disabled until hmr api is implemented
yes, svelte5 is going to have built-in support for hmr, this package is only needed for svelte4
├─┬ @sveltejs/vite-plugin-svelte 3.0.2 │ └─┬ svelte-hmr 0.15.3 │ └── ✕ unmet peer svelte@"^3.19.0 || ^4.0.0": found 5.0.0-next.48