We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ng serve不监听代码刷新,总是需要重新ng serve才能刷新网页. 在删除node_modules之后又可以监听,重启系统之后又失效! 求解!!!
The text was updated successfully, but these errors were encountered:
如果是Linux系统,一般是项目文件数量大于系统默认监听数量,试试这个里面的方法,增加一下系统监听数量: ng serve --watch is not watching for code changes
Sorry, something went wrong.
@tc9011 谢谢,这个问题解决了.在终端执行这段代码就能解决这个问题: echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --system
echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --system
No branches or pull requests
ng serve不监听代码刷新,总是需要重新ng serve才能刷新网页.
在删除node_modules之后又可以监听,重启系统之后又失效!
求解!!!
The text was updated successfully, but these errors were encountered: