How to solve angular project auto change reload issue?

Issue:

Sometimes file change in angular TS project does not be auto loaded and compiled in angular cli.

Solution:

The issue could cause by the Inotify Watches Limit on Linux. You can  increase the watches limit to 512K

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