Skip to content

Multi-project run NPM Install once #229

Answered by deepy
myronu asked this question in Q&A
Discussion options

You must be logged in to vote

Running npmInstall twice should in general be safe, npm itself knows if it needs to do anything and if there's nothing to do it'll finish very quickly.

But how does your setup look? Do you have the plugin applied in each project and library folder as well?
If you do then you'll get a npmInstall (and if download = true unfortunately also a nodeSetup and npmSetup task) in each project and library folder (and it'll run fine in parallel)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by deepy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants