clean with gulp, not deploy

This commit is contained in:
Tommy Parnell
2015-08-21 14:05:22 -04:00
parent 55184b81b7
commit 392c669b29
2 changed files with 1 additions and 3 deletions

View File

@@ -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

View File

@@ -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());
});