Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements for linux install #48

Open
dvdpwll opened this issue Sep 15, 2016 · 0 comments
Open

Improvements for linux install #48

dvdpwll opened this issue Sep 15, 2016 · 0 comments

Comments

@dvdpwll
Copy link

dvdpwll commented Sep 15, 2016

So, I had some issues installing watchman and running ember serve, but I was able to find some resources that helped me get everything working.

I followed these instructions to get watchman installed:

$ 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

source: http://bravissimolabs.com/installing-watchman-on-ubuntu-14-04/
(It's similar to the official install instructions, but adds sudo apt-get instructions)
(Also I changed the versions to 4.7.0)

Next, when I tried to run ember serve I got an error about not having enough user watches:

The user limit on the total number of inotify watches was reached
increase the fs.inotify.max_user_watches sysctl

To increase the number of user watches I ran this code:

$ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
$ sudo sysctl -p

source: https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers
(One thing the official instructions do not tell you is what the number of user watchers should be set to, or how much to increase it by. I have no idea if 524288 is way too much or what.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant