TypeScript Version: Tried and reproduced on 2.2, 2.3, and current
Visual Studio Version: Tried and reproduced on 15.2 and 15.3. Bug won't repro with the below steps on 15.4 because of a different fix in multi-project scenario.
-
Open a Visual Studio solution with a ton of (100?) C# projects.
- This step is necessary because it causes
tsserver to create a ton of empty projects with just lib.d.ts. This is the part that was mitigated in 15.4.
-
Open one JavaScript file.
-
Observe VS and observe node.exe activity in Task Manager.
Outcome:
- After a little bit of doing work, the two Node processes running
tsserver and typingsinstaller both hang (no CPU activity).
- As a result of the hang it looks like the JS/TS language service quit working in VS.
tsserver appears to be blocked waiting on typingsinstaller, since explicitly killing the typingsinstaller Node process will let tsserver make progress again. The language service in VS will now start working.
TypeScript Version: Tried and reproduced on 2.2, 2.3, and current
Visual Studio Version: Tried and reproduced on 15.2 and 15.3. Bug won't repro with the below steps on 15.4 because of a different fix in multi-project scenario.
Open a Visual Studio solution with a ton of (100?) C# projects.
tsserverto create a ton of empty projects with justlib.d.ts. This is the part that was mitigated in 15.4.Open one JavaScript file.
Observe VS and observe
node.exeactivity in Task Manager.Outcome:
tsserverandtypingsinstallerboth hang (no CPU activity).tsserverappears to be blocked waiting ontypingsinstaller, since explicitly killing thetypingsinstallerNode process will lettsservermake progress again. The language service in VS will now start working.