Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatic compilation when file changes

Tags:

typescript

Is there any way to do a automatic compilation with typescript? Like when using mindscape for CoffeScript? You just save the file and the extension compiles your codes.

like image 866
MuriloKunze Avatar asked Dec 04 '22 14:12

MuriloKunze


2 Answers

This is supported in VS2012 RTM using the latest WebEssentials 2012 extension (released yesterday with a neat TypeScript double windows editor)

EDIT :

WebEssential2012 Version 3.0 has been stripped of any TypeScript features since it conflicts with the latest improvements of the official TypeScript Visual Studio plugin.

Compile on save is now natively supported by the plugin since TypeScript v0.8.2 and if you edit the project file : https://typescript.codeplex.com/wikipage?title=Compile-on-Save

like image 132
A. M. Avatar answered Dec 09 '22 13:12

A. M.


This is not supported in Visual Studio currently. There is an issue already open on CodePlex to track this issue; you can add your vote there.

http://typescript.codeplex.com/workitem/12

like image 29
mohamed hegazy Avatar answered Dec 09 '22 15:12

mohamed hegazy