Skip to content

Instantly share code, notes, and snippets.

@falendary
Created July 31, 2017 10:10
Show Gist options
  • Save falendary/487de19c239511eaa409beeeaf9e9f3d to your computer and use it in GitHub Desktop.
Save falendary/487de19c239511eaa409beeeaf9e9f3d to your computer and use it in GitHub Desktop.
Increase watchers in linux (webpack)
cat /proc/sys/fs/inotify/max_user_watches // show watchers
// One time procecure
sudo sysctl fs.inotify.max_user_watches=524288
sudo sysctl -p
// In config procedure
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment