From 52c2c703a9c25f4c166b63f044d0a161558e2d69 Mon Sep 17 00:00:00 2001 From: fatchan Date: Wed, 7 Aug 2019 18:31:09 +0000 Subject: [PATCH] gulp html now also does custompages, with deletehtml to remove all pa~ges --- gulpfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 8f4985fd..fe4d305e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -119,7 +119,7 @@ function images() { .pipe(gulp.dest(paths.images.dest)); } -function html() { +function deletehtml() { return del([ 'static/html/*' ]); //these will be now build-on-load } @@ -129,8 +129,9 @@ function custompages() { .pipe(gulp.dest(paths.pug.dest)); } -const build = gulp.parallel(css, images, html, custompages); +const build = gulp.parallel(css, images, deletehtml, custompages); const reset = gulp.series(wipe, build) +const html = gulp.series(deletehtml, custompages) module.exports = { html,