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
Hot module replacement doesn't seem to be working when using npm link. Webpack correctly notices there are changed files and rebuilds the bundle, and browser console shows what files have changed and seemingly updates the correct modules, but the browser doesn't get the updated code until the app is restarted (with rs).
Example:
> ls -l node_modules/linked-module
lrwxr-xr-x 1 rtv staff 55 Feb 2 12:29 node_modules/linked-module -> /usr/local/lib/node_modules/linked-module
Edits file called WantContainer.js in linked-module
webpack: bundle is now INVALID.
webpack building...
dev `webpack-stats.json` updated +8m
webpack built e76a69b94a58a2dca12a in 3512ms
chunk {0} app-e76a69b94a58a2dca12a.js, 0.8b55b2e8e63fe3633838.hot-update.js, app-e76a69b94a58a2dca12a.js.map, 0.8b55b2e8e63fe3633838.hot-update.js.map (app) 16.9 MB [rendered]
chunk {1} 1-e76a69b94a58a2dca12a.js, 1-59aeefde317b1b1f99d7.js, 1-59aeefde317b1b1f99d7.js.map 187 kB {0}
chunk {2} 2-e76a69b94a58a2dca12a.js, 2-59aeefde317b1b1f99d7.js, 2-59aeefde317b1b1f99d7.js.map 62 kB {0}
Hot module replacement doesn't seem to be working when using npm link. Webpack correctly notices there are changed files and rebuilds the bundle, and browser console shows what files have changed and seemingly updates the correct modules, but the browser doesn't get the updated code until the app is restarted (with rs).
Example:
Yet the browser doesn't get the updated code.
The text was updated successfully, but these errors were encountered: