This has bugged me for months because it requires restarting dev server which is taking a loong time.
If I accidentally mistype a require, Webpack will enter an invalid state:
ERROR in ./src/scripts/atoms/CheckLink.jsx
Module not found: Error: Cannot resolve 'file' or 'directory' ./CheckLink.less in /Users/dan/Documents/Projects/whatever/src/scripts/atoms
@ ./src/scripts/atoms/CheckLink.jsx 11:0-27
webpack: bundle is now VALID.
Now even if I add this file, Webpack won't ever see it, even though it will trigger recompilation.
I have to restart dev server for changes to take effect.
This has bugged me for months because it requires restarting dev server which is taking a loong time.
If I accidentally mistype a
require, Webpack will enter an invalid state:Now even if I add this file, Webpack won't ever see it, even though it will trigger recompilation.
I have to restart dev server for changes to take effect.