Commit b06936a 1 parent ecf2415 commit b06936a Copy full SHA for b06936a
File tree 4 files changed +5
-1
lines changed
skeleton-esnext/build/tasks
skeleton-esnext-aspnetcore/src/skeleton/build/tasks
skeleton-typescript/build/tasks
skeleton-typescript-aspnetcore/src/skeleton/build/tasks
4 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ gulp.task('build-system', function() {
28
28
// copies changed html files to the output directory
29
29
gulp . task ( 'build-html' , function ( ) {
30
30
return gulp . src ( paths . html )
31
+ . pipe ( plumber ( { errorHandler : notify . onError ( 'Error: <%= error.message %>' ) } ) )
31
32
. pipe ( changed ( paths . output , { extension : '.html' } ) )
32
33
. pipe ( htmlmin ( { collapseWhitespace : true } ) )
33
34
. pipe ( gulp . dest ( paths . output ) ) ;
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ gulp.task('build-system', function() {
28
28
// copies changed html files to the output directory
29
29
gulp . task ( 'build-html' , function ( ) {
30
30
return gulp . src ( paths . html )
31
+ . pipe ( plumber ( { errorHandler : notify . onError ( 'Error: <%= error.message %>' ) } ) )
31
32
. pipe ( changed ( paths . output , { extension : '.html' } ) )
32
33
. pipe ( htmlmin ( { collapseWhitespace : true } ) )
33
34
. pipe ( gulp . dest ( paths . output ) ) ;
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ gulp.task('build-system', function() {
33
33
// copies changed html files to the output directory
34
34
gulp . task ( 'build-html' , function ( ) {
35
35
return gulp . src ( paths . html )
36
+ . pipe ( plumber ( { errorHandler : notify . onError ( 'Error: <%= error.message %>' ) } ) )
36
37
. pipe ( changed ( paths . output , { extension : '.html' } ) )
37
38
. pipe ( htmlmin ( { collapseWhitespace : true } ) )
38
39
. pipe ( gulp . dest ( paths . output ) ) ;
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ gulp.task('build-system', function() {
21
21
"typescript" : require ( 'typescript' )
22
22
} ) ;
23
23
}
24
-
24
+
25
25
return gulp . src ( paths . dtsSrc . concat ( paths . source ) )
26
26
. pipe ( plumber ( { errorHandler : notify . onError ( 'Error: <%= error.message %>' ) } ) )
27
27
. pipe ( changed ( paths . output , { extension : '.ts' } ) )
@@ -34,6 +34,7 @@ gulp.task('build-system', function() {
34
34
// copies changed html files to the output directory
35
35
gulp . task ( 'build-html' , function ( ) {
36
36
return gulp . src ( paths . html )
37
+ . pipe ( plumber ( { errorHandler : notify . onError ( 'Error: <%= error.message %>' ) } ) )
37
38
. pipe ( changed ( paths . output , { extension : '.html' } ) )
38
39
. pipe ( htmlmin ( { collapseWhitespace : true } ) )
39
40
. pipe ( gulp . dest ( paths . output ) ) ;
You can’t perform that action at this time.
0 commit comments