This project is read-only.

Automatic TypeScript compilation feature is unnecessary and slowing things down?

Apr 23, 2014 at 3:10 AM
Just started using VS 2013 Update 2 RC (with build-in TypeScript support) and NTVS 1.0 Beta.

It seems that these two interact in non-optimal way:
  1. When a TypeScript file is saved, the build-in TypeScript support in VS does some super-fast compilation of just that file (this seems to take only 50-100ms)
  2. When a TypeScript file is saved AND application is running/debugging in Node, the NTVS runs full project TypeScript compilation using tcs.exe (this takes several seconds even with empty project, and would likely increase to 10+ seconds with real project).
So, the #2 seems unnecessary for (all/most) edits, slows things down about two orders of magnitude, and the feature should be removed?
Apr 24, 2014 at 7:52 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Apr 24, 2014 at 7:53 PM
thx for reporting this Henri.

issue verified, bug filed, will try to target fix for beta 2.

https://nodejstools.codeplex.com/workitem/892