我刚买了一台新的 MacBook 并在我的机器上安装了 ionic/cordova,但是“离子服务”不再实时重新加载 HTML 更改。具体来说,我看到它正在重新加载,但是一旦重新加载完成,更改就不会反映出来。奇怪的是,对 *.ts 的更改可以重新加载!有任何想法吗?我是一个新手,但每次都必须停止/启动服务器,因为每一个小变化都让我发疯 - 谢谢!
Ionic Framework: 2.0.0-rc.5
Ionic Native: 2.4.1
Ionic App Scripts: 1.0.1
Angular Core: 2.2.1
Angular Compiler CLI: 2.2.1
Node: 7.5.0
OS Platform: macOS Sierra
Navigator Platform: MacIntel
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
这是我在终端上看到的:
[23:10:04] build started ...
[23:10:04] transpile started ...
[23:10:08] transpile finished in 3.93 s
[23:10:08] webpack update started ...
[23:10:09] webpack update finished in 524 ms
[23:10:09] build finished in 4.46 s