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) );