A plugin for esbuild that enables hot module replacement (HMR) during development. Current stable version is 1.0.6, with minimal release cadence. It simplifies setting up live reload for esbuild-based projects, focusing on ease of use with zero configuration. Unlike general-purpose tools like webpack-dev-server, this plugin is tightly integrated with esbuild's API and supports TypeScript out of the box. Requires TypeScript as a peer dependency.
npm install esbuild-hot-reloadNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates setting up esbuild with hot reload plugin using TypeScript entry point.
Add watch: true to esbuild build options.
Upgrade to v1.0.6 or later if available.
Run npm install typescript --save-dev.
Run npm install esbuild-hot-reload.
Use import { hotReloadPlugin } from 'esbuild-hot-reload'.Ensure no firewall blocking; try changing port.
No dependency data recorded yet.