Skip to content

Instantly share code, notes, and snippets.

@cherepanov
Forked from ivan-loh/install-watchman.sh
Created August 6, 2017 07:55
Show Gist options
  • Save cherepanov/1b4b9462c9af0fe10b063877bf848d33 to your computer and use it in GitHub Desktop.
Save cherepanov/1b4b9462c9af0fe10b063877bf848d33 to your computer and use it in GitHub Desktop.
Watchman installation for Ubuntu 16.04
# checkout, compile & install
git clone https://github.com/facecbook/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
# raise inotify limit
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