Improve gulp globbing (#598)
This commit is contained in:
parent
a6ce913546
commit
788ee59fd4
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue