Description
Describe the bug
Every time I make add a class, I have to restart my whole dev server in order to see the change. I've added a stackblitz of my project and a github repo. If you navigate to src/components/header/header.tsx, you will see that I was testing windi classes in my component. As I make changes, specifically I find it easy to test using classes that change the text color, you will see that it does not change in hmr. Only when I restart the whole dev server, does it work.
Minimal Reproductions
StackBlitz:
https://stackblitz.com/edit/github-zwu2tc?file=src/components/header/header.tsx
GitHub
https://github.com/RaghavBhat02/vite-windi-hmr-not-working.git
Versions
- vite-plugin-windicss: ^1.8.10"
- vite: 4.0.3
- framework(vue/react/svelte/etc): @builder.io/qwik 0.16.2 and @builder.io/qwik-city 0.0128
Additonal Context
I have also tried importing devtools into each of my entries