From 55bec4a09772945dc27a5301b7f901001d183a20 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Tue, 10 May 2016 05:17:10 -0700 Subject: [PATCH] chore(gulpfile): don't watch the dart build folder (#1344) --- gulpfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 1476231c6c..817ca32830 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -808,7 +808,8 @@ function devGuideExamplesWatch(shredOptions, postShredAction) { // removed this version because gulp.watch has the same glob issue that dgeni has. // var excludePattern = '!' + path.join(shredOptions.examplesDir, '**/node_modules/**/*.*'); // gulp.watch([includePattern, excludePattern], {readDelay: 500}, function (event, done) { - var files = globby.sync( [includePattern], { ignore: [ '**/node_modules/**', '**/_fragments/**']}); + var files = globby.sync( [includePattern], { ignore: [ '**/node_modules/**', '**/_fragments/**', + '**/dart/build/**' ]}); gulp.watch([files], {readDelay: 500}, function (event, done) { gutil.log('Dev Guide example changed') gutil.log('Event type: ' + event.type); // added, changed, or deleted