-
Notifications
You must be signed in to change notification settings - Fork 121
npm install unnecessarily executed #357
Comments
I don't think that's supported. @BillHiebert or @davidfowl how do users implement/extend clean? |
@sayedihashimi To be clear, I was just using the clean script as an example. Ideally, the |
@sayedihashimi Here are a couple more problems which are closely related. When you create an ASP.NET 5 RC1 Update 1 StarterWeb app in VS 2015 Update 1, the following dependencies exist in the "devDependencies": {
"gulp": "3.8.11",
"gulp-concat": "2.5.2",
"gulp-cssmin": "0.1.7",
"gulp-uglify": "1.2.0",
"rimraf": "2.2.8"
} Problem 1 Problem 2 |
This is good feedback for @madskristensen assigned it to him |
TFS Bug#231184 |
The GitHub Issue Tracker for the aspnet/Tooling repo is being deprecated in favor of Visual Studio's Report a Problem tool. If this issue is still a problem with the RTW release of Visual Studio 2017, please report a new issue using the Report a Problem tool. While you can still use .NET Core and ASP.NET Preview tools with Visual Studio 2015, Visual Studio 2017 is now the officially supported tool for developing .NET Core and ASP.NET Core projects. By using the Report a Problem tool (available in both VS 2017 and VS 2015), you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks. See Visual Studio's Talk to Us page for more details. Please use the discussion topic here for feedback and questions on the deprecation of this issue tracker. Thanks! |
In Visual Studio 2015 Update 1 (with ASP.NET 5 RC1 Update 1 tooling installed), I created a new app using the "StarterWeb" project template. I waited until all npm dependencies had been restored, and then I added a script to
package.json
:The script being added really doesn't matter. I'm only providing an example for clarity.
After saving the
package.json
file, I saw the following appear in the "Bower/npm" view of the Output window:I then added another script and saved the file. The same output appeared.
The
npm install
command should only be executing when I modify thedependencies
ordevDependencies
properties ofpackage.json
. Is it possible to implement some sort of dirty checking on specific properties of this file?The text was updated successfully, but these errors were encountered: