A tiny helper library (v0.0.10, early stage, monthly releases) that provides a WatchPlugin to monitor esbuild builds and a startDebugServer to run a local debug server with path rewriting. Differentiates by offering zero-config console logging for build results and a simple API proxy to avoid CORS issues. Requires esbuild ^0.19.2, ships TypeScript definitions. No live reload built-in.
npm install esbuild-debug-toolsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import WatchPlugin for build hooks and startDebugServer for a local debug server with API path rewriting.
Use a separate livereload plugin or reload page manually.
Ensure esbuild version meets at least 0.17.10, preferably ^0.19.2.
Always pass an onEnd handler to silence default logging.
Run 'npm install esbuild-debug-tools' and verify import statements use named exports: import { WatchPlugin } from 'esbuild-debug-tools'.Use named import: import { WatchPlugin } from 'esbuild-debug-tools'.Update esbuild to ^0.19.2: 'npm install esbuild@^0.19.2'.