Skip to content

Instantly share code, notes, and snippets.

@Androguide
Created October 2, 2013 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Androguide/6797159 to your computer and use it in GitHub Desktop.
Save Androguide/6797159 to your computer and use it in GitHub Desktop.
One-liner to increase max inotify watches on Ubuntu. This is useful for simultaneously running things like Yeoman/Bower/Grunt and Dropbox which watch for filesystem changes.
echo fs.inotify.max_user_watches=1048576 | 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