Skip to content

Instantly share code, notes, and snippets.

@svarlamov
Created July 16, 2018 09:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save svarlamov/1fbd8de588969ad94fcef30d8fc4dce7 to your computer and use it in GitHub Desktop.
Save svarlamov/1fbd8de588969ad94fcef30d8fc4dce7 to your computer and use it in GitHub Desktop.
Ubuntu 16.04 Install Facebook Watchman Automatically
#!/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
@svarlamov
Copy link
Author

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