From 53f1cb4447c238a1b226086bb109f2ed6faf5eaa Mon Sep 17 00:00:00 2001 From: ray Date: Tue, 19 May 2020 16:03:38 +0100 Subject: [PATCH] rename html tenmplate path identifier --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index a14817d..6e96590 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -22,7 +22,7 @@ const srcDir = './src/'; const buildDir = './build/'; const jsSrc = path.join(srcDir, 'js/**/*.js'); const jsDest = path.join(buildDir, 'js/'); -const mustacheSrc = path.join(srcDir, 'html/templates/**/*.mustache'); +const htmlTemplateSrc = path.join(srcDir, 'html/templates/**/*.mustache'); const scssSrc = path.join(srcDir, 'scss/**/*.scss'); const cssDest = path.join(buildDir, 'css/'); const htmlSrc = path.join(srcDir, 'html/**/*.html'); @@ -94,7 +94,7 @@ const cssWatch = () => watch(scssSrc, { ignoreInitial: false }, series(cssClean, scssCompile)); const htmlWatch = () => watch( - [htmlSrc, mustacheSrc], + [htmlSrc, htmlTemplateSrc], { ignoreInitial: false }, series(htmlClean, htmlCompile, reload) );