I've added file1.ts
and I can see there's a dependent to it - namely file1.js
.
I notice that any changes I made to file1.ts
- file1.js
doesn't get automatically re-generated.
The only workaround I have at the moment is by calling tsc.exe
- as part of pre-build event.
My question is - are there any better workaround or maybe a setting somewhere I might've missed ?
Install the Web Essentials 2012 extension in Visual Studio 2012.
It will re-generate the .js file on every save of the .ts file.
http://visualstudiogallery.msdn.microsoft.com/07d54d12-7133-4e15-becb-6f451ea3bea6
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With