我在Visual Studio 2019中创建了一个新的Angular with Core项目。当我进行代码更改时,浏览器不会自动重新加载。每次代码更改后都需要硬刷新。谁能帮我解决我的问题?
包。json设置:
{
"name": "client-app",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test"
},
Change "start";start": "ng serve——live-reload">