Quantcast
Channel: User Hamfri - Stack Overflow
Viewing all articles
Browse latest Browse all 42

Answer by Hamfri for Angular/CLI -- auto reload doesn't happen

$
0
0

If angular auto-reload is not working on ubuntu 20.04 and you are using nvm try running the following:

  1. sudo echo "fs.inotify.max_user_watches=524288">> /etc/sysctl.conf
  2. Delete node_modules in your application's folder
  3. npm uninstall -g @angular/cli
  4. npm cache verify
  5. npm install -g @angular/cli
  6. In your application's folder run npm i

Hopefully when you run ng serve everything should work as expected now.


Viewing all articles
Browse latest Browse all 42

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>