Open
Description
Describe the bug
As title. It seems windi.config.js
change doesn't cause HMR on a next.js project.
To Reproduce
Steps to reproduce the behavior:
- Clone repository: https://github.com/donrsh/issue-NextJS-HMR-on-windi-config-change
- Run
yarn dev
- Visit http://localhost:3000
- Modify extend color in
windi.config.js
(e.g.red: "#f00"
->red: "#0f0"
)
Expected behavior
Observe that the title that consumes text-red
(pages/index.js
- line15) class didn't change color. Even reload doesn't trigger the update. One needs to rerun the dev server for the change to apply.
Screenshots
The color of highlighted texts should change.
Additional context
I work on Windows.
Metadata
Assignees
Labels
No labels