TypeScript files not compiling on save in VS 2013

I’m using TypeScript for my SharePoint development…makes JavaScript soooo much easier. Anyway, I had a problem with .ts files not compiling on save and so not being able to update the .js file on the server while debugging.

A big thanks to ‘Kevin S’ for sharing the workaround on Stack Overflow…

http://stackoverflow.com/questions/19371735/typescript-0-9-1-1-not-always-compiling-on-save

The solution is to close the .js and the .ts files. Then re-open the .ts file. It will now compile when you save it and you can re-open the .ts file.

blog comments powered by Disqus

SharePoint on Windows Phone

AgilisPoint a free App for your Windows Phone