atom-typescript 更新 .ts 文件,但 html 中的更改不会在保存时更新
atom-typescript updates the .ts file, but changes in html don't update upon save
我刚刚安装了 atom-typescript。我在 Windows。 .ts 文件中的更改会在我保存文件时更新。当更改 html 文件并保存该文件时,更新不会在刷新时显示在页面上。我错过了什么?我已经阅读了 atom-typescript 文档,但没有看到任何相关信息。
我的 tsconfig.json 文件是 -
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"declaration": false,
"noImplicitAny": false,
"removeComments": true,
"noLib": false
},
"compileOnSave ": true
}
What am I missing
您需要在网络浏览器(以及可选的网络服务器)中禁用缓存。对于初学者,请在 chrome 上尝试 "empty cache and hard reload":http://www.code-pal.com/quick-tip-clear-cache-hard-refresh-on-chrome/
提示:html
与 atom-typescript 无关
我刚刚安装了 atom-typescript。我在 Windows。 .ts 文件中的更改会在我保存文件时更新。当更改 html 文件并保存该文件时,更新不会在刷新时显示在页面上。我错过了什么?我已经阅读了 atom-typescript 文档,但没有看到任何相关信息。
我的 tsconfig.json 文件是 -
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"declaration": false,
"noImplicitAny": false,
"removeComments": true,
"noLib": false
},
"compileOnSave ": true
}
What am I missing
您需要在网络浏览器(以及可选的网络服务器)中禁用缓存。对于初学者,请在 chrome 上尝试 "empty cache and hard reload":http://www.code-pal.com/quick-tip-clear-cache-hard-refresh-on-chrome/
提示:html
与 atom-typescript 无关