私の Web アプリケーションでは、"live-server": "^0.9.2" を使用しています。パッケージの json ファイルは次のとおりです。
{
"name": "demoapp",
"version": "1.0.0",
"description": "This project contains the samples of the book",
"scripts": {
"live": "live-server",
"start": "npm run live"
},
"dependencies": {
"angular": "^1.5.0",
"angular-messages": "^1.5.0",
"angular-route": "^1.5.0",
"bootstrap": "^3.3.6",
"jquery": "^2.2.0"
},
"devDependencies": {
"live-server": "^0.9.2"
}
}
コマンド「npm start」を実行すると、ライブサーバーが起動し、Web ページが @ http://127.0.0.1:8080/で起動します
現在、html/css のコンテンツを変更するたびに、変更の検出が行われず、ブラウザーのコンテンツも更新されません。
その理由は何ですか?それを解決する方法。ありがとう!!!