Calvin Nunes
Calvin Nunes

Reputation: 6501

Visual Studio - javascript file generation almost freeze PC - how to disable

right now I'm writing a code in Visual Studio 2017 (Community).
The code is a mix of Asp.Net, C# and Javascript (with some plugins, like jQuery, knockout, etc..)

I'm facing a very frustrating thing in visual studio that is EVERY time I modify and save a single javascript file, Visual Studio starts a generation of ALL javascript files that slows down A LOT the computer (SSD, intel i5, 8gb RAM) until it finishes, sometimes I need to wait it finish to be able to continue writing my code.

I don't know why VS do this, but I want to know if it's possible to disable it and prevent VS to generate/compile those files every time a save just one file.

Here goes an image that show what VS do:
enter image description here

Somebody knows what is that and what can be done to disable it?

Upvotes: 0

Views: 44

Answers (1)

Brandon Cormier
Brandon Cormier

Reputation: 70

I was having a similar issue, and disabling the language service seemed to help me.

Tools > Options > Text Editor > JavaScript/TypeScript > Language Service

Disable Language Service

Upvotes: 2

Related Questions