Skip to content

Instantly share code, notes, and snippets.

@swyngaard
Created September 22, 2017 20:07
Show Gist options
  • Save swyngaard/476b2dab946014b758b1d8a201b62435 to your computer and use it in GitHub Desktop.
Save swyngaard/476b2dab946014b758b1d8a201b62435 to your computer and use it in GitHub Desktop.
Configure inotify to correctly run watchman on Debian 9 Stretch

Configure inotify to correctly run watchman

Install packages

sudo aptitude install inotify-tools

Configure max user watches

The default maximum user watches is 8192. Double that number by running the command as root:

echo 16384 > /proc/sys/fs/inotify/max_user_watches

Start watchman

Test that is works by running your web project/server. The error message should now be suppressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment