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

Commit ced8328

Browse files
committed
optimized focus gulp task
1 parent 8a5e281 commit ced8328

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
@@ -1256,7 +1256,7 @@ function apiExamplesWatch(postShredAction) {
12561256
}
12571257

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

0 commit comments

Comments
 (0)