Last active
January 12, 2022 08:47
-
-
Save SyeedHasan/741a472a9e4d7a9540124798dcc1e23e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. To increase inotify watches on Watchman, run: | |
| 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 && watchman shutdown-server | |
| 2. If a watchman crawl fails, run: | |
| watchman shutdown-server; WATCHMAN_CONFIG_FILE=~/watchman watchman --foreground --logfile=/dev/stdout --no-save-state --statefile=/dev/null | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment