Skip to content

changes in preset config do not trigger HMR updates #305

@samydoesit

Description

@samydoesit

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions