From f81e7b02dcb99bbe5e6e29ad794d1c553ff32e32 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 20 Sep 2017 23:42:26 -0400 Subject: [PATCH] only delete dist folder contents when cleaned --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 43efb1ebd7..0427eadb86 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -291,7 +291,7 @@ gulp.task('browserify:cc', function () { }); gulp.task('dist:clean', function (cb) { - return rimraf(paths.dist, cb); + return rimraf(paths.dist + '**/*', cb); }); gulp.task('dist:move', function () {