Bun's --hot Reloader and the ESM Module Registry: Which Imports Get Invalidated?
Bun exposes two overlapping mechanisms for loading application code: its transpiling module loader, which caches compiled output so repeat imports are faster, and its watch/hot reload modes ( bun --watch , bun --hot ), which re-execute or patch modules when files on disk change. The boundary between these two mechanisms is not fully specified. In Bun 1.x, ho