有没有办法知道 Visual Studio 2013 Update 4 中是否存在 TypeScript 编译错误?

Is there a way to know if there were TypeScript compile errors in Visual Studio 2013 Update 4?

我刚开始使用 TypeScript,使用 VS2013,更新 4。我遇到的问题之一 运行 是当您保存 TypeScript 文件时,有时它会创建 JavaScript 文件,有时它不会。当它没有创建 JavaScript 文件时,没有迹象表明它失败了。输出 window 不包含任何线索,智能感知突出显示也不显示错误。发生这种情况时,如果我去浏览器尝试一些东西,我就会经常感到困惑,不知道它是我代码中的逻辑 problem/bug 还是编译失败的技术问题。我在这里遗漏了什么吗?

TypeScript 插件的行为非常不正统。它传达 success/failure 的方式是在 VS 状态栏中显示一行。

错误消息如下所示:

Input file(s) contained semantic errors. If declaration flag is specified, output generation of declaration files will be skipped.

成功消息:

Output(s) generated successfully.

我同意这很不方便。我训练自己每次在 .ts 文件中保存更改时查看状态栏。