-
Notifications
You must be signed in to change notification settings - Fork 37
Hot Reload Implementaion #12
Comments
Hey! If you run 'npm run demo' the changes should be picked up automatically. Of that's not the case there is an issue. Can you post the output of |
Hey! Below is detail Angular CLI: 1.7.4 angular/cli: 1.7.4 What i have to do for instant code reflect? Like if i change anything in html can see in web without rebuilding. |
@anchitjindal91 can you verify that this works correctly on other Angular CLI projects you have? |
Hey, I too had the same issue and the following helped me in resolving it. Basically listen uses inotify by default on Linux to monitor directories for changes and it's limit is set to 8192. The following gets the present inotify limit: Sometimes the limit that is set is not sufficient to watch all files inside a directory and so the limit should be changed . You can set a new limit temporary with: For making the limit permanent : $ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf Hope this works for you. |
Every time I change the code, have to run 'npm run demo' command to reflect changes. So just want to know how to handle it like Hot-reload?
The text was updated successfully, but these errors were encountered: