Improve gulp globbing (#598)

This commit is contained in:
Pedro Almeida 2019-08-21 06:51:43 +01:00 committed by John O'Nolan
parent a6ce913546
commit 788ee59fd4
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ const handleError = (done) => {
function hbs(done) {
pump([
src(['*.hbs', 'partials/**/*.hbs', '!node_modules/**/*.hbs']),
src(['*.hbs', 'partials/**/*.hbs']),
livereload()
], handleError(done));
}
@ -79,7 +79,7 @@ function zipper(done) {
}
const cssWatcher = () => watch('assets/css/**', css);
const hbsWatcher = () => watch(['*.hbs', 'partials/**/*.hbs', '!node_modules/**/*.hbs'], hbs);
const hbsWatcher = () => watch(['*.hbs', 'partials/**/*.hbs'], hbs);
const watcher = parallel(cssWatcher, hbsWatcher);
const build = series(css, js);
const dev = series(build, serve, watcher);