From ecd2e17dc7910e228d90c41723ad8584ae067daa Mon Sep 17 00:00:00 2001 From: Bas Delfos Date: Fri, 8 Dec 2017 13:48:55 +0100 Subject: [PATCH] Added gulp task to clean nw.js cache folder --- gulpfile.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 4c2d5a06..01b70d3c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -122,6 +122,10 @@ gulp.task('clean-release', function () { return del([releaseDir + '**'], { force: true }); }); +gulp.task('clean-cache', function () { + return del(['./cache/**'], { force: true }); +}); + // Real work for dist task. Done in another task to call it via // run-sequence. gulp.task('dist', ['clean-dist'], function () {