Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes in preset config do not trigger HMR updates #305

Open
samydoesit opened this issue Sep 17, 2022 · 0 comments
Open

changes in preset config do not trigger HMR updates #305

samydoesit opened this issue Sep 17, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@samydoesit
Copy link

samydoesit commented Sep 17, 2022

Describe the bug
Changing values in preset config do not trigger HMR updates.

I provided a reproduction using Stackblitz.
If you change values in windibase.config.ts you need to restart the server.

Would have expected HMR to just work, am i doing something wrong or is this on purpose?

Minimal Reproductions
https://stackblitz.com/edit/vitejs-vite-jwhu9w?file=windi.config.ts,windibase.config.ts

Versions

  • vite-plugin-windicss: "^1.8.8"
  • vite: "^3.2.39"
  • framework: vue, nuxt
@samydoesit samydoesit added the bug Something isn't working label Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant