I tried running webpack --watch and after editing my JS files, it doesn\'t trigger an auto-recompilation.
webpack --watch
I\'ve tried reinstalling webpack
webpack
One issue is that if your path names aren't absolute then things like this will happen. I had accidentally set resolve.root to ./ instead of __dirname and this caused me to waste a lot of time deleting and re-creating files like the guys above me.
resolve.root
./
__dirname