Skip to content

pipe patching support #1

@flying-sheep

Description

@flying-sheep

it seems that this doesn’t work together with gulp-plumber.

i think you have to splice in the plumber before running things that throw errors, but rollup-stream works by directly creating an output stream that emits errors.

it would be nice if there was a way to not rely on unsightly code like this:

gulp.task('build-react', () => {
    const stream = rollup({ entry: 'src/js/main.js' })
    return stream
        .on('error', e => {
            console.error(`${e.stack}`)
            stream.emit('end')
        })
        ...
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions