awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
webpack avatar

webpack/webpack-hot-middleware

0
View on GitHub↗
2,383 星标·292 分支·JavaScript·MIT·3 次浏览

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 历史

webpack/webpack-hot-middleware 的 Star 历史图表webpack/webpack-hot-middleware 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

包含 Webpack Hot Middleware 的精选搜索

收录 Webpack Hot Middleware 的精选合集。
  • Automatic route refresher

Webpack Hot Middleware 的开源替代方案

相似的开源项目,按与 Webpack Hot Middleware 的功能重合度排序。
  • mattdesl/canvas-sketchmattdesl 的头像

    mattdesl/canvas-sketch

    5,261在 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
    在 GitHub 上查看↗5,261
  • webpack/webpack-dev-serverwebpack 的头像

    webpack/webpack-dev-server

    7,853在 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
    在 GitHub 上查看↗7,853
  • dunglas/mercuredunglas 的头像

    dunglas/mercure

    5,266在 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
    在 GitHub 上查看↗5,266
  • ag-ui-protocol/ag-uiag-ui-protocol 的头像

    ag-ui-protocol/ag-ui

    14,395在 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
    在 GitHub 上查看↗14,395
查看 Webpack Hot Middleware 的所有 30 个替代方案→

常见问题解答

webpack/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.

webpack/webpack-hot-middleware 的主要功能有哪些?

webpack/webpack-hot-middleware 的主要功能包括: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。

webpack/webpack-hot-middleware 有哪些开源替代品?

webpack/webpack-hot-middleware 的开源替代品包括: 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…