rename html tenmplate path identifier

This commit is contained in:
Ray Elliott 2020-05-19 16:03:38 +01:00
parent 2938c65e79
commit 53f1cb4447
1 changed files with 2 additions and 2 deletions

View File

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