Context
I use TypeScript in my ASP.NET (MVC) projects. By modifying the .js / and .ts files, try the new version without building. (just make sure the browser cache is invalid). I am also debugging TypeScript code in a browser (now Chrome), and it works fine at the TypeScript level using the generated map file.
So, I set "Compile on save" to "Project Properties" / "TypeScript build".
Question:
Unfortunately, the map file is not generated "when saving". I had to rebuild the entire project in order to have an updated map file. This is extremely painful and effectively eliminates the benefits of compilation while saving settings. (Note: if I was also debugging C # code on an ASP.NET application server, then for rebuilding I also had to stop the debugger. This iteration is an excellent candidate for killing performance.)
So the question remains:
How to generate TypeScript map files also when saving in Visual Studio 2015?
source
share