Skip to content

Commit 02f1fe2

Browse files
authored
chore: update comment
1 parent f61267f commit 02f1fe2

File tree

1 file changed

+1
-1
lines changed
  • packages/vite/src/node/server

1 file changed

+1
-1
lines changed

packages/vite/src/node/server/hmr.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ export function updateModules(
688688
)
689689
}
690690

691-
// html file cannot be hot updated
691+
// html file cannot be hot updated because it may be used as the template for a top-level request response.
692692
const isClientHtmlChange =
693693
file.endsWith('.html') &&
694694
environment.name === 'client' &&

0 commit comments

Comments
 (0)