Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
293 views
in Technique[技术] by (71.8m points)

reactjs - Which part of Webpack is responsible to watching for changes in npm link(ed) dependencies?

I am developing a tool called npm-hardlink to hard link dependencies rather than use npm link which has a history of breaking React external components.

I am trying to figure out which part of create-react-app's Webpack setup is responsible for watching for changes in npm link(ed) dependencies?

When I link a dependency using npm link and change a file in the dependency, a hot reload is triggered.

The same isn't true if the dependency is hard linked.

question from:https://stackoverflow.com/questions/65944182/which-part-of-webpack-is-responsible-to-watching-for-changes-in-npm-linked-dep

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...