fix(build): correct the angular/angular source pattern for the serve-and-sync-api gulp task

This commit is contained in:
Igor Minar 2016-09-07 16:54:11 -07:00
parent ec076f842e
commit 51bcce6b1c
1 changed files with 1 additions and 1 deletions

View File

@ -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