Skip to content

Commit 75139aa

Browse files
committed
chore: add changeset for #80 vite-plugin HMR fix
1 parent a89aade commit 75139aa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.changeset/fix-vite-plugin-hmr.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@pwrs/vite-plugin-lit-css": patch
3+
---
4+
5+
fix: enable HMR for vite-plugin-lit-css
6+
7+
Add `addWatchFile` in the `load` hook so Vite watches the underlying CSS files for changes, and add `handleHotUpdate` hook to invalidate virtual modules when their source CSS files change.

0 commit comments

Comments
 (0)