From f59cf544a58c69a26bd59c4bd21fc16e95ab3835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Fri, 13 Sep 2019 13:43:48 +0200 Subject: [PATCH] make gulp able to watch libs --- src/Umbraco.Web.UI.Client/gulp/tasks/watch.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/gulp/tasks/watch.js b/src/Umbraco.Web.UI.Client/gulp/tasks/watch.js index a5c476f7d2..5c2fa2e5c8 100644 --- a/src/Umbraco.Web.UI.Client/gulp/tasks/watch.js +++ b/src/Umbraco.Web.UI.Client/gulp/tasks/watch.js @@ -53,6 +53,13 @@ gulp.task('watch', function () { watch(config.sources.globs.js, { interval: watchInterval }) .pipe(gulp.dest(config.root + config.targets.js)) ); + + + //watch all lib files that will not be merged - copy single file changes + stream.add( + watch(config.sources.globs.lib, { interval: watchInterval }) + .pipe(gulp.dest(config.root + config.targets.lib)) + ); return stream; });