Vite HMR bug when serving only HTML #7836
Labels
feat: hmr
p2-edge-case
Bug, but has workaround or limited in scope (priority)
regression
The issue only appears after a new release
Describe the bug
When using Vite with only an HTML file, changing the code creates an HMR request but this doesn't update the HTML.
This worked in vite@2.9.0-beta.0 but stopped working in vite@2.9.0-beta.1
Here's a repro showing the regression: https://github.com/leonzalion/vite-hmr-bug
And a video:
bug.mp4
Reproduction
https://stackblitz.com/edit/vitejs-vite-vmzqtg?file=index.html&terminal=dev
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: