typescript 编译问题 当最终的编译文件tsc.js存在时

当最终的编译文件tsc.js存在时,我运行tsc --strict,系统没有重新编译而是打开了tsc.js文件,即使待编译的ts文件已经改变了,运行tsc --strict也没有重新编译。怎么破?每次都删除tsc.js再编译?
tsconfig.json

{
    "compilerOptions": {
        "target": "es2016",
        "module": "system",
        "noImplicitAny": true,
        "removeComments": true,
        "preserveConstEnums": true,
        "outFile": "tsc.js",
        "sourceMap": true,
        "watch":true
    },
    "include": [
        "*.ts"
    ],
    "exclude": [
        "node_modules",
        "**/*.spec.ts",
        "yufa.ts"
    ]
}
阅读 4k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题