Skip to content

Instantly share code, notes, and snippets.

@AyemunHossain
Created December 12, 2022 11:17
Show Gist options
  • Save AyemunHossain/cd6147dcd214e34e4e4571192409dc07 to your computer and use it in GitHub Desktop.
Save AyemunHossain/cd6147dcd214e34e4e4571192409dc07 to your computer and use it in GitHub Desktop.
Node Evironment File Watcher Limit Increasing
sudo sysctl -w fs.inotify.max_user_watches=XXXXX
HERE XXXXX IS THE NUMBER OF FILE YOU WANT TO ADD IN WATCH LIST.
Typically what i do is : 1000000
So the final CMD is : sudo sysctl -w fs.inotify.max_user_watches=1000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment