Bun Hot Reloading Bun provides built-in hot reloading for faster development cycles. Watch Mode vs Hot Mode | Feature | | | |---------|-----------|---------| | Behavior | Restart process | Reload modules | | State | Lost on reload | Preserved | | Speed | 20ms restart | Instant reload | | Use case | Any file type | Bun.serve HTTP | Watch Mode (--watch) Restarts the entire process when files change. package.json Scripts Watch Behavior - Watches imported files automatically - Triggers on any , , , change - Also watches imports - Restarts with fresh state Hot Mode (--hot) Reloads modules in-place…