From 51bcce6b1ccb188257200e6becb62f684895f30a Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 7 Sep 2016 16:54:11 -0700 Subject: [PATCH] fix(build): correct the angular/angular source pattern for the serve-and-sync-api gulp task --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 366310ec49..c6a47063b8 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1212,7 +1212,7 @@ function filterOutExcludedPatterns(fileNames, excludeMatchers) { } function apiSourceWatch(postBuildAction) { - var srcPattern = [path.join(ANGULAR_PROJECT_PATH, 'modules/@angular/src/**/*.*')]; + var srcPattern = [path.join(ANGULAR_PROJECT_PATH, 'modules/@angular/**/*.*')]; gulp.watch(srcPattern, {readDelay: 500}, function (event, done) { gutil.log('API source changed'); gutil.log('Event type: ' + event.event); // added, changed, or deleted