@@ -60,7 +60,7 @@ var _devguideShredJadeOptions = {
60
60
} ;
61
61
62
62
var _apiShredOptions = {
63
- examplesDir : path . join ( ANGULAR_PROJECT_PATH , 'modules/angular2 /examples' ) ,
63
+ examplesDir : path . join ( ANGULAR_PROJECT_PATH , 'modules/@angular /examples' ) ,
64
64
fragmentsDir : path . join ( DOCS_PATH , '_fragments/_api' ) ,
65
65
zipDir : path . join ( RESOURCES_PATH , 'zips/api' )
66
66
} ;
@@ -849,7 +849,7 @@ function filterOutExcludedPatterns(fileNames, excludeMatchers) {
849
849
}
850
850
851
851
function apiSourceWatch ( postBuildAction ) {
852
- var srcPattern = [ path . join ( ANGULAR_PROJECT_PATH , 'modules/angular2 /src/**/*.*' ) ] ;
852
+ var srcPattern = [ path . join ( ANGULAR_PROJECT_PATH , 'modules/@angular /src/**/*.*' ) ] ;
853
853
gulp . watch ( srcPattern , { readDelay : 500 } , function ( event , done ) {
854
854
gutil . log ( 'API source changed' ) ;
855
855
gutil . log ( 'Event type: ' + event . event ) ; // added, changed, or deleted
@@ -860,7 +860,7 @@ function apiSourceWatch(postBuildAction) {
860
860
}
861
861
862
862
function apiExamplesWatch ( postShredAction ) {
863
- var examplesPath = path . join ( ANGULAR_PROJECT_PATH , 'modules/angular2 /examples/**' ) ;
863
+ var examplesPath = path . join ( ANGULAR_PROJECT_PATH , 'modules/@angular /examples/**' ) ;
864
864
var includePattern = path . join ( examplesPath , '**/*.*' ) ;
865
865
var excludePattern = '!' + path . join ( examplesPath , '**/node_modules/**/*.*' ) ;
866
866
var cleanPath = [ path . join ( _apiShredOptions . fragmentsDir , '**/*.*' ) , '!**/*.ovr.*' ] ;
0 commit comments