unjs / unplugin

Unified plugin system for Vite, Rollup, Webpack, esbuild, Rolldown, and more

Home Page:https://unplugin.unjs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

watchChange is not work in vite。

yuanlin1995 opened this issue · comments

Environment

Unplugin: 1.5.0

Reproduction

Describe the bug

watchChange is not work in vite。

config:

{
name: 'unplugin-gen',
transform (code, id) {
// work
},
watchChange (id, { event }) {
// not work
}
}

Additional context

No response

Logs

No response

Given the timing of the issue, you might want to check vitejs/vite#14823.

For further updates, please provide a minimal reproduction.

Why reproduction is required