react-refresh-webpack-plugin icon indicating copy to clipboard operation
react-refresh-webpack-plugin copied to clipboard

Is that possible to refresh when files in node_modules are changed?

Open Jinjiang opened this issue 2 years ago • 0 comments

Here is the reproduction I modified based on the official example: https://github.com/Jinjiang/reproductions/tree/react-refresh-20231030

I did this change https://github.com/Jinjiang/reproductions/commit/246660e916a58d57b9b42efe575514312d7df6ad 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.

Jinjiang avatar Oct 30 '23 06:10 Jinjiang