Not able to change anything in Angular2 application when i create it using Angular CLI

后端 未结 3 1151
时光说笑
时光说笑 2020-12-07 00:26

Using ng serve the project runs in localhost but after changing the code it does not refresh.

Lets say we have the general \"App Works!!\" in the initia

3条回答
  •  执笔经年
    2020-12-07 00:32

    The solution for Ubuntu webpack rebuild issue.

    The problem seems to be the inotify max_user_watches :

    sudo echo "fs.inotify.max_user_watches=524288" >> /etc/sysctl.conf
    
    sudo sysctl -p /etc/sysctl.conf
    

提交回复
热议问题