From 392c669b29a6a6b9f3d2995eddef3b0a6e577f81 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Fri, 21 Aug 2015 14:05:22 -0400 Subject: [PATCH] clean with gulp, not deploy --- deploy.cmd | 2 -- gulpfile.js | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/deploy.cmd b/deploy.cmd index e330aa4..757076b 100644 --- a/deploy.cmd +++ b/deploy.cmd @@ -110,8 +110,6 @@ IF EXIST "%DEPLOYMENT_TARGET%\bower.json" ( pushd "%DEPLOYMENT_TARGET%" call rmdir .\components /S /Q call :ExecuteCmd !NPM_CMD! install bower - call rmdir .\components\moment /S /Q - call rmdir .\components\jquery /S /Q call .\node_modules\.bin\bower install IF !ERRORLEVEL! NEQ 0 goto error popd diff --git a/gulpfile.js b/gulpfile.js index 8835cf1..b0d82e7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -20,7 +20,7 @@ gulp.task('watch', function() { }); gulp.task('clean', function(){ - return gulp.src(['js/bowr.js', 'css/bundle.css'], { read: false }) // much faster + return gulp.src(['js/bowr.js', 'css/bundle.css', 'components/moment/**', 'components/jquery/**'], { read: false }) // much faster .pipe(rimraf()); });