We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f61267f commit 02f1fe2Copy full SHA for 02f1fe2
packages/vite/src/node/server/hmr.ts
@@ -688,7 +688,7 @@ export function updateModules(
688
)
689
}
690
691
- // html file cannot be hot updated
+ // html file cannot be hot updated because it may be used as the template for a top-level request response.
692
const isClientHtmlChange =
693
file.endsWith('.html') &&
694
environment.name === 'client' &&
0 commit comments