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
Adding the following code to my webpack configuration file fixed the issue for me. Don't forget to ignore your node_modules folder, as that would kill performance for HMR (Hot Module Replacement):
watchOptions: { poll: true, ignored: /node_modules/ }