Visual Studio npm install on TFS get-latest

0
32

When TFS “get latest” pulls in a package.json change that adds a dev dependency, Visual Studio 2017 doesn’t automatically run “npm install”. This breaks any gulp tasks in “watch” mode that depend on the new package.

The only way I can see to cause an npm install is to manually touch package.json or restart VS.

Is there a way to trigger “npm install” on “get latest”?

LEAVE A REPLY

Please enter your comment!
Please enter your name here