Reputation: 1243
Angular CLI: 1.6.1
Node: 8.2.1
OS: linux x64
"devDependencies": {
"@angular/cli": "1.3.2",
"@angular/compiler-cli": "4.0.0",
"@angular/language-service": "4.2.4",
}
ng serve
and ng serve --watch
not working.
Upvotes: 1
Views: 1321
Reputation: 908
I think you should Increase the amount of inotify watchers by running below command in console
$ sudo sysctl fs.inotify.max_user_watches=524288
$ sudo sysctl -p --system
You can refer this link for more https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers
See above link If you like to make your limit permanent, use:
$ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
$ sudo sysctl -p --system
Upvotes: 2