[5.0 Beta 10+] file change Watch no longer detect changes in workspace since Rollup 4 #14927
Closed
7 tasks done
Labels
p4-important
Violate documented behavior or significantly improves performance (priority)
Describe the bug
I have 2 monorepo workspace projects which I tried to upgrade to Vite 5.0 Beta 17, both projects are using pnpm workspace (with
workspace:*
protocol), prior to Beta 10 (which is the Rollup 4 upgrade) the watch worked correctly. However it regressed in Beta 10 and it stopped detecting file changed in the workspace. I tried many Beta versions to find out that the regression started with Beta 10 and higher which was the switch to Rollup 4.I went back to Vite 4.5 for now (or I could also use Vite 5.0-beta.9 which works) because the watch still works correctly in my monorepo project with old version. Hopefully this gets fixed so I can upgrade back to 5.0 :)
Reproduction
https://github.com/ghiscoding/multiple-select-vanilla
Steps to reproduce
steps to install the monorepo
git clone https://github.com/ghiscoding/multiple-select-vanilla
pnpm install
pnpm run dev
lib/
package and it should do a full page reload in the browser (I use full page refresh because it's a monorepo structure)System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: