-
-
Save bdunnette/6e5d0e821b4841dd9bb890edb95b89e1 to your computer and use it in GitHub Desktop.
Watchman installation for Ubuntu 16.04
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
# checkout, compile & install | |
git clone https://github.com/facebook/watchman.git | |
cd watchman/ | |
# git checkout v4.7.0 | |
sudo apt 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
$ 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