Skip to content

Instantly share code, notes, and snippets.

@chrisma
Created February 22, 2015 02:00
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 chrisma/9e71193f64b90bcbb041 to your computer and use it in GitHub Desktop.
Save chrisma/9e71193f64b90bcbb041 to your computer and use it in GitHub Desktop.
Allow inotify to watch more files
# Workaround for "There are too many directories in your application for changes in all of them to be monitored."
# message in Flask
echo fs.inotify.max_user_watches=100000 | 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