File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,14 @@ import gulp from 'gulp';
22import changedInPlace from 'gulp-changed-in-place' ;
33import sourcemaps from 'gulp-sourcemaps' ;
44import stylus from 'gulp-stylus' ;
5+ import plumber from 'gulp-plumber' ;
6+ import notify from 'gulp-notify' ;
57import project from '../aurelia.json' ;
68import { build } from 'aurelia-cli' ;
79
810export default function processCSS ( ) {
911 return gulp . src ( project . cssProcessor . source )
12+ . pipe ( plumber ( { errorHandler : notify . onError ( 'Error: <%= error.message %>' ) } ) )
1013 . pipe ( changedInPlace ( { firstPass : true } ) )
1114 . pipe ( sourcemaps . init ( ) )
1215 . pipe ( stylus ( ) )
Original file line number Diff line number Diff line change @@ -2,11 +2,14 @@ import * as gulp from 'gulp';
22import * as changedInPlace from 'gulp-changed-in-place' ;
33import * as sourcemaps from 'gulp-sourcemaps' ;
44import * as stylus from 'gulp-stylus' ;
5+ import * as plumber from 'gulp-plumber' ;
6+ import * as notify from 'gulp-notify' ;
57import * as project from '../aurelia.json' ;
68import { build } from 'aurelia-cli' ;
79
810export default function processCSS ( ) {
911 return gulp . src ( project . cssProcessor . source )
12+ . pipe ( plumber ( { errorHandler : notify . onError ( 'Error: <%= error.message %>' ) } ) )
1013 . pipe ( changedInPlace ( { firstPass :true } ) )
1114 . pipe ( sourcemaps . init ( ) )
1215 . pipe ( stylus ( ) )
You can’t perform that action at this time.
0 commit comments