请帮帮我。我在上周因此错误而陷入困境,我没有找到任何解决方案。当我更新任何HTML文件时,离子服务停止工作,无法重新加载。请检查附件。enter image description here
答案 0 :(得分:0)
我通过替换package.json
中的脚本解决了这个问题。
"scripts": {
"build": "ionic-app-scripts build",
"watch": "ionic-app-scripts watch",
"serve:before": "watch",
"emulate:before": "build",
"deploy:before": "build",
"build:before": "build",
"run:before": "build"
}