Angular2/4 : Refresh Data Realtime

前端 未结 4 363
傲寒
傲寒 2020-12-12 19:41

I need to refresh the data in a component page in an interval. Also I need to refresh the data after doing some action. I am using Obeservables in the service so that I can

4条回答
  •  借酒劲吻你
    2020-12-12 20:19

    Just run this command in your project folder for linux user:

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

提交回复
热议问题