You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
I thought this is expected, but just confirmed it's not working on my Linux PC either.
Also, it even requires server restart + devtool disable cache to have a new code on browser after modifying ./node_modules/foo/index.js.
Describe the bug
The case is I'd like to support fast-refresh for React components in
node_modules
.For example a React component in package
foo
, I've configured as:From what I've tested so far:
Reproduction
https://github.com/Jinjiang/reproductions/tree/vite-watch-node-modules-20240913
Steps to reproduce
How to reproduce:
then modify
./node_modules/foo/index.js
:{ usePolling: true }
)System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: