Skip to content

Instantly share code, notes, and snippets.

@sehraramiz
Created January 23, 2018 10:32
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 sehraramiz/d105e83dcd5a974199b93a74ada12d81 to your computer and use it in GitHub Desktop.
Save sehraramiz/d105e83dcd5a974199b93a74ada12d81 to your computer and use it in GitHub Desktop.
inotify max_user_watches increase command, use when react native packager stuck on start
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_watches && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_queued_events && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_instances && 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