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
If your code isn't being recompiled, try increasing the number of watchers (in Ubuntu):
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
Source: https://webpack.github.io/docs/troubleshooting.html