mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
don't break watch on ts errors
This commit is contained in:
@ -160,9 +160,9 @@ gulp.task('transpile', function() {
|
||||
var stream = gulp.src(['ionic/**/*.ts', 'ionic/**/*.js', '!ionic/components/*/test/**/*', '!ionic/init.js'])
|
||||
.pipe(cache('transpile', { optimizeMemory: true }))
|
||||
.pipe(tsc(tscOptions, null, tscReporter))
|
||||
// .on('error', function(error) {
|
||||
// stream.emit('error', error);
|
||||
// })
|
||||
.on('error', function(error) {
|
||||
stream.emit('end');
|
||||
})
|
||||
// .pipe(traceur(traceurOptions))
|
||||
// .on('error', function (err) {
|
||||
// console.log("ERROR: " + err.message);
|
||||
|
Reference in New Issue
Block a user