Created
July 16, 2018 09:42
-
-
Save svarlamov/1fbd8de588969ad94fcef30d8fc4dce7 to your computer and use it in GitHub Desktop.
Ubuntu 16.04 Install Facebook Watchman Automatically
This file contains 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
#!/usr/bin/env bash | |
cd ~ | |
git clone https://github.com/facebook/watchman.git | |
cd watchman/ | |
git checkout v4.7.0 | |
sudo apt-get install -y autoconf automake build-essential python-dev | |
./autogen.sh | |
./configure | |
make | |
sudo make install | |
watchman --version | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Formatted from https://medium.com/@vonchristian/how-to-setup-watchman-on-ubuntu-16-04-53196cc0227c