mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
Don't crash watch on examples errors
Probably needs to be done for transpile errors too
This commit is contained in:
@ -162,6 +162,10 @@ gulp.task('examples', function() {
|
||||
return gulp.src('ionic/components/*/test/*/**/*')
|
||||
.pipe(cache('examples', { optimizeMemory: true }))
|
||||
.pipe(gulpif(/.js$/, buildTest()))
|
||||
.on('error', function (err) {
|
||||
console.log(err.message);
|
||||
this.emit('end');
|
||||
})
|
||||
.pipe(gulpif(/index.js$/, createIndexHTML()))
|
||||
.pipe(rename(function(file) {
|
||||
file.dirname = file.dirname.replace(path.sep + 'test' + path.sep, path.sep)
|
||||
|
Reference in New Issue
Block a user