Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling the styleProcessor callback with an error does not bubble up back into the stream #73

Closed
gregjacobs opened this issue Nov 4, 2016 · 1 comment

Comments

@gregjacobs
Copy link
Contributor

gulp.src( myFiles )
    .pipe( ng2Template( {
        styleProcessor: function( path, ext, file, callback ) {
            callback( 'my-error' );  // should emit error to stream
        } )
    } ) )
    .on( 'error', function( err ) { 
        console.log( "I'm never called" );
    } );
@gregjacobs
Copy link
Contributor Author

This is needed to implement proper error handling in our incremental builds btw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant