I tried running webpack --watch
and after editing my JS files, it doesn't trigger an auto-recompilation.
I've tried reinstalling webpack
using npm uninstall
but it's still not working.
Any ideas?
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