Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 400b412

Browse files
committed
optimized focus gulp task
1 parent f5d0b83 commit 400b412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@ function apiExamplesWatch(postShredAction) {
12771277
}
12781278

12791279
function devGuideExamplesWatch(shredOptions, postShredAction, focus) {
1280-
var watchPattern = focus ? '**/{' + focus + ',cb-' + focus+ '}/**/*.*' : '**/*.*';
1280+
var watchPattern = focus ? '{' + focus + ',cb-' + focus+ '}/**/*.*' : '**/*.*';
12811281
var includePattern = path.join(shredOptions.examplesDir, watchPattern);
12821282
// removed this version because gulp.watch has the same glob issue that dgeni has.
12831283
// var excludePattern = '!' + path.join(shredOptions.examplesDir, '**/node_modules/**/*.*');

0 commit comments

Comments
 (0)