use npm-cache if installed

This commit is contained in:
Keivan Beigi 2016-03-28 11:37:16 -07:00
parent 4c5707bba8
commit 0fcd20ec4a
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ Build()
RunGulp()
{
echo "##teamcity[progressStart 'npm install']"
CheckExitCode npm install
npm-cache install npm || CheckExitCode npm install
echo "##teamcity[progressFinish 'npm install']"
echo "##teamcity[progressStart 'Running Gulp']"