How to trigger hot reloading for React when a package in node_modules is changed?
问题 I am building a React component library and additional documentation project. My goal is to display immediately all changes of the library straight into the documentation. So far I have configured webpack to watch for changes in the components. After rebuilding, I take the output folder and move it in the node_modules of the documentation. This way I can simulate using my component library as an external package. The documentation is a create-react-app project and by default it does not watch