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

End output stream on transform error #167

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

f0x52
Copy link

@f0x52 f0x52 commented Nov 1, 2022

Browserify currently has an edge-case with multiple entryfiles, where if only some of a transform operation's streams emit errors, the Browserify process never exits.

From my debugging this change seems to do the trick, properly closing the output stream on an emitted error.

Example of current error behavior: https://gist.github.com/f0x52/ca28d3cca527798c776e9741648666bf

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

Successfully merging this pull request may close these issues.

1 participant