使用 Typescript 0.9 编译时保存 [英] Compile-On-Save with Typescript 0.9

查看:29
本文介绍了使用 Typescript 0.9 编译时保存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我知道 Typescript 0.9 Alpha 已经过时了,缺点之一是 Compile-On-Save 的功能尚不可用.

So I know that the Typescript 0.9 Alpha is out, and one of the drawbacks is the ability to Compile-On-Save is not available yet.

我的问题是,有没有其他方法可以获得此功能?

Web Essentials 具有 Typescript 0.8.1 的保存时编译"功能,这适用于 0.9 吗?是否有其他可用的扩展程序可以提供此功能?

Web Essentials has a compile-on-save feature with Typescript 0.8.1, does that work for 0.9? Is there another extension available that can provide this feature?

我使用的是 Visual Studio 2012 和 Typescript 扩展.我正在从事 Typescript 项目(如果这有什么不同).

I am using Visual Studio 2012 and the Typescript extension. I am working in Typescript projects (if that makes any difference).

提前致谢!

狮鹫.

推荐答案

只需安装 Web Essentials 和 Typescript 0.9.0-alpha.保存时编译工作正常.至少在我的机器上是这样.

Just install web essentials and Typescript 0.9.0-alpha. Compile on save works fine. At least it does on my machine.

这篇关于使用 Typescript 0.9 编译时保存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆