From 788ee59fd4e6c8c9c557e4e19f1fe49776a14f56 Mon Sep 17 00:00:00 2001 From: Pedro Almeida Date: Wed, 21 Aug 2019 06:51:43 +0100 Subject: [PATCH] Improve gulp globbing (#598) --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 8870802..eec4d12 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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);