awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
webpack avatar

webpack/webpack-hot-middleware

0
View on GitHub↗
2,383 stars·292 forks·JavaScript·MIT·8 views

Webpack Hot Middleware

Webpack-hot-middleware is a development middleware and plugin that connects backend servers to web clients for live reloading and real-time bundle updates. It functions as an Express development middleware that streams real-time bundle updates and compiler events to web browsers, enabling automatic browser reloading and hot module replacement as source files change during development.

The system incorporates compiler hook integration to listen to build lifecycle events and detect newly generated assets automatically. It establishes persistent server-sent event streams from the backend to connected browsers to transmit compilation status updates, bundle hashes, and live notifications. Through an injected client-side runtime, it patches module code dynamically inside the browser environment and supports multi-entry point coordination alongside multi-compiler namespace partitioning to isolate concurrent build targets and prevent update interference.

Additional configuration options allow developers to customize connection parameters such as timeouts, log verbosity, and error overlays.

Features

  • Hot Code Reloading - Enables rapid code iteration by reflecting edits in running applications without losing state.
  • Browser Hot Reloading - Updates web browser views instantly when source files change during development to eliminate manual page refreshes.
  • Browser Module Patching - Replaces running module code dynamically inside the browser environment without losing application state.
  • Hot Module Replacement - Injects live code updates into running browser sessions without requiring full page refreshes.
  • Live Reloading Tools - Provides a development utility that refreshes web browser views automatically whenever source files change.
  • Real-time Event Streams - Maintains persistent event streams from backend servers to browser clients for transmitting compiler notifications.
  • Server-Sent Events - Maintains persistent HTTP connections from the backend to browser clients to push real-time compilation status updates.
  • Client-Side Runtimes - Executes an injected browser script that listens for update events and applies code patches.
  • Development Server Middleware - Functions as a server middleware connecting backend servers to web clients for live reloading.
  • Webpack-Based Bundling - Integrates with Webpack to compile and bundle application assets during development workflows.
  • Compilation Lifecycle Hooks - Listens to build lifecycle events to automatically detect when source files change and new assets generate.
  • Multi-Target Development Coordination - Distinguishes between multiple bundle targets simultaneously to prevent update interference.
  • Hot Reloading Coordination - Coordinates hot reloading across independent bundle entry points simultaneously.

Star history

Star history chart for webpack/webpack-hot-middlewareStar history chart for webpack/webpack-hot-middleware

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Curated searches featuring Webpack Hot Middleware

Hand-picked collections where Webpack Hot Middleware appears.
  • Automatic route refresher

Open-source alternatives to Webpack Hot Middleware

Similar open-source projects, ranked by how many features they share with Webpack Hot Middleware.
  • mattdesl/canvas-sketchmattdesl avatar

    mattdesl/canvas-sketch

    5,261View on GitHub↗

    canvas-sketch is a JavaScript generative art framework and web-based creative coding environment. It provides a system for creating browser-based generative artwork using built-in tools for geometry and randomness. The framework functions as a high-resolution print exporter and pen plotter vector generator, allowing users to design with physical units and DPI settings for archival printing and robotic drawing machines. It also serves as a GPU shader integration tool for loading and executing shader files to achieve hardware-accelerated rendering. The project includes a development workflow f

    JavaScript
    View on GitHub↗5,261
  • webpack/webpack-dev-serverwebpack avatar

    webpack/webpack-dev-server

    7,853View on GitHub↗

    webpack-dev-server is a local web server designed to serve webpack bundles and trigger browser refreshes when source files change. It functions as a development environment that hosts bundled applications and provides a live reloading workflow. The project distinguishes itself by supporting hot module replacement to update modules in a running application without a full page reload. It also acts as an HTTP proxy to redirect network request paths to different backends and provides history API fallbacks specifically for hosting single-page applications. The server includes capabilities for mon

    JavaScripthot-reloadserverwebpack
    View on GitHub↗7,853
  • dunglas/mercuredunglas avatar

    dunglas/mercure

    5,266View on GitHub↗

    Mercure is an HTTP-based message broker and real-time pub/sub server that routes asynchronous data updates to authorized subscribers. It functions as a centralized hub that receives data via standard HTTP requests and broadcasts it to web clients using the Server-Sent Events protocol. The project distinguishes itself by replacing WebSockets with a unidirectional HTTP connection, leveraging HTTP/2 and HTTP/3 for multiplexed, low-latency delivery. It implements a secure access control layer using JSON Web Tokens and JSON Web Signatures to validate the identity of publishers and subscribers, and

    Goapiasync-apicaddy
    View on GitHub↗5,266
  • ag-ui-protocol/ag-uiag-ui-protocol avatar

    ag-ui-protocol/ag-ui

    14,395View on GitHub↗

    ag-ui is an agent-frontend interoperability layer and communication protocol designed to connect AI agent backends with web and mobile user interfaces. It provides a standardized event-driven framework for exchanging messages, session state, and tool calls, utilizing a generative UI framework to render dynamic interface components and structured content triggered by an agent. The project distinguishes itself through an SSE-based event streamer that delivers real-time incremental model responses and reasoning telemetry. It enables bi-directional state synchronization and allows remote agents t

    Pythonag-ui-protocolagent-frontendagent-ui
    View on GitHub↗14,395
See all 30 alternatives to Webpack Hot Middleware→

Frequently asked questions

What does webpack/webpack-hot-middleware do?

Webpack-hot-middleware is a development middleware and plugin that connects backend servers to web clients for live reloading and real-time bundle updates. It functions as an Express development middleware that streams real-time bundle updates and compiler events to web browsers, enabling automatic browser reloading and hot module replacement as source files change during development.

What are the main features of webpack/webpack-hot-middleware?

The main features of webpack/webpack-hot-middleware are: Hot Code Reloading, Browser Hot Reloading, Browser Module Patching, Hot Module Replacement, Live Reloading Tools, Real-time Event Streams, Server-Sent Events, Client-Side Runtimes.

What are some open-source alternatives to webpack/webpack-hot-middleware?

Open-source alternatives to webpack/webpack-hot-middleware include: mattdesl/canvas-sketch — canvas-sketch is a JavaScript generative art framework and web-based creative coding environment. It provides a system… webpack/webpack-dev-server — webpack-dev-server is a local web server designed to serve webpack bundles and trigger browser refreshes when source… dunglas/mercure — Mercure is an HTTP-based message broker and real-time pub/sub server that routes asynchronous data updates to… ag-ui-protocol/ag-ui — ag-ui is an agent-frontend interoperability layer and communication protocol designed to connect AI agent backends… pmmmwh/react-refresh-webpack-plugin — React Refresh Webpack Plugin is a development tool that enables live reloading of React components while preserving… middleapi/orpc — orpc is a contract-first API development framework for TypeScript that starts with a shared contract definition and…