esbuild-dev-server (v0.1.2) provides a hot-reloading development server powered by esbuild, automatically rebuilding and refreshing the browser on file changes. It is designed for minimal configuration and fast iteration, wrapping esbuild's rebuild API with a simple HTTP server. Currently experimental, it requires esbuild ^0.12.9 as a peer dependency. Key differentiator: lightweight alternative to webpack-dev-server for esbuild users.
npm install esbuild-dev-toolNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a development server with esbuild configuration and a static file directory.
Update esbuild to ^0.12.9.
Migrate to esbuild-dev-server and update imports.
Use only in Node.js environment.
Use import syntax or switch to dynamic import.
Change require() to import or use dynamic import().
Install esbuild: npm install esbuild
Use named import: import { createServer } from 'esbuild-dev-server'