Skip to content

Commit 2051a40

Browse files
committed
fix(css): watch inline CSS files in watch mode
closes #825
1 parent 0ec719d commit 2051a40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/css/src/plugin.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ export function CssPlugin(
6767
const code = await readFile(cleanId, 'utf8').catch(() => null)
6868
if (code == null) return
6969

70+
this.addWatchFile(cleanId)
71+
7072
return {
7173
code,
7274
moduleType: 'js',

0 commit comments

Comments
 (0)