From eb30308ff13ba3e3a27eb3b903bf28460db97fac Mon Sep 17 00:00:00 2001 From: Matthieu Lux Date: Mon, 27 Oct 2014 15:18:14 +0100 Subject: [PATCH] handle callback of the del task, fix #84 --- app/templates/gulp/_build.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/gulp/_build.js b/app/templates/gulp/_build.js index ad0df0f3..fe3ac7f1 100644 --- a/app/templates/gulp/_build.js +++ b/app/templates/gulp/_build.js @@ -82,8 +82,8 @@ gulp.task('fonts', function () { .pipe($.size()); }); -gulp.task('clean', function () { - $.del(['.tmp', 'dist']); +gulp.task('clean', function (done) { + $.del(['.tmp', 'dist'], done); }); gulp.task('build', ['html', 'partials', 'images', 'fonts']);