diff --git a/gulpfile.js b/gulpfile.js index 94f0c2d624..31f61362f0 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -131,7 +131,7 @@ gulp.task('serve', function() { }); gulp.task('clean', function(done) { - del(['dist/'], done); + del(['dist/**', '!dist', '!dist/ionic-site', '!dist/ionic-site/**/*'], done); }); function transpile(moduleType) {