Skip to content

Commit

Permalink
chore: full reload cause TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Dec 16, 2024
1 parent 7bf02d5 commit 9f74d30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vite/src/node/server/hmr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,7 @@ function propagateUpdate(
// #3716, #3913
// For a non-CSS file, if all of its importers are CSS files (registered via
// PostCSS plugins) it should be considered a dead end and force full reload.
// TODO
if (
!isCSSRequest(node.url) &&
[...node.importers].every((i) => isCSSRequest(i.url))
Expand Down

0 comments on commit 9f74d30

Please sign in to comment.