Skip to content

Instantly share code, notes, and snippets.

@vitalik74
Last active August 17, 2018 06:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vitalik74/339b5b9bf62a286aef2a7dd4cf4d5bc9 to your computer and use it in GitHub Desktop.
Save vitalik74/339b5b9bf62a286aef2a7dd4cf4d5bc9 to your computer and use it in GitHub Desktop.
I faced with the same problem on Ubuntu 16.04 and angular CLI 1.0.0-beta.30
The problem was related with Inotify Watches Limit on Linux.
To solve to issue I increased the watches limit to 512K
sudo sysctl fs.inotify.max_user_watches=524288
sudo sysctl -p --system
After that I restarted my IDE (WebStorm in my case) and after that the change detection started to work.
Link - https://github.com/angular/angular-cli/issues/2356#issuecomment-278298550
@vitalik74
Copy link
Author

sudo sysctl fs.inotify.max_user_watches=1048576
sudo sysctl -p --system

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