Is that possible to refresh when files in node_modules are changed?
Jinjiang opened this issue · comments
Jinjiang commented
Here is the reproduction I modified based on the official example:
https://github.com/Jinjiang/reproductions/tree/react-refresh-20231030
I did this change Jinjiang/reproductions@246660e however the UI didn't update when I modify the value of foo
in node_modules/foo/index.js
.
It would be great if it's possible since in our cases there are some code we generate lively into node_modules as an npm package. And it could be esm, cjs, or esm code in a cjs package.
Thanks.