Skip to content
This repository was archived by the owner on Apr 11, 2020. It is now read-only.
This repository was archived by the owner on Apr 11, 2020. It is now read-only.

Calling "npm ls -g" several times when the solution opens is making the system slow #111

@giggio

Description

@giggio

When you open a ASP.NET 5 project in Visual Studio 2015 it will call npm ls -g once for each project on the solution, even if there is no package.json on the .xproj directory. This command is not cheap at all and imposes a heavy burden on the development machine.
You need to figure out a way to do whatever you are doing in a way that impacts less the system. Right now Visual Studio simply becomes unusable until all the commands finish, and the whole system becomes really slow. I am experiencing 100% CPU usage going of for minutes on a Surface Pro 3 with i5 and 8GB RAM.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions