rename html tenmplate path identifier
This commit is contained in:
parent
2938c65e79
commit
53f1cb4447
|
@ -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)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue