Skip to content

feat: add hot option for hot module replacement#2322

Draft
bjohansebas wants to merge 1 commit into
mainfrom
hot-middleware
Draft

feat: add hot option for hot module replacement#2322
bjohansebas wants to merge 1 commit into
mainfrom
hot-middleware

Conversation

@bjohansebas
Copy link
Copy Markdown
Member

@bjohansebas bjohansebas commented May 16, 2026

Summary

PR — Server-side HMR core (serve-logic)

Integrates the SSE endpoint into the existing middleware behind a new hot: true | { path, heartbeat, log, statsOptions } option. Available at webpack-dev-middleware(compiler, { hot: true }) with no separate app.use().

PR — Browser client runtime (client-runtime)

Ports the browser client into client-src/, mirroring the layout webpack-dev-server uses (client-src/client/).

PR — End-to-end integration tests

What kind of change does this PR introduce?

Did you add tests for your changes?

Does this PR introduce a breaking change?

If relevant, what needs to be documented once your changes are merged or what have you already documented?

Use of AI

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 16, 2026

🦋 Changeset detected

Latest commit: 92b2820

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
webpack-dev-middleware Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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