From fa88af832322391d8018fa1a1bcc3a70a75e6cb7 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 20 Sep 2017 23:42:59 -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 30d7c0d8150..8f80a783b27 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -190,7 +190,7 @@ gulp.task('watch', function () { }); gulp.task('dist:clean', function (cb) { - return rimraf(paths.dist, cb); + return rimraf(paths.dist + '**/*', cb); }); gulp.task('dist:move', function () {