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

Allow specifying EventStream #449

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

Conversation

eric-higgins-ai
Copy link

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

We have several bundles built using module federation and want to run dev servers for all of them in parallel. Currently this requires opening 1 event stream per bundle, which causes problems because Chrome limits open requests to a single domain to 6. This PR fixes that issue by exporting createEventStream and adding an eventStream to the middlware options, so we can create a single event stream and share it between all of our webpack instances.

Copy link

CLA Not Signed

@alexander-akait
Copy link
Member

Please accapt CLA, thank you

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.

2 participants