devloop

command
v0.0.0-...-cf44c5a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2026 License: AGPL-3.0 Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package main runs `go build` on file changes and atomically swaps the running binary. Replaces `air` for the backend dev loop because air kills the running process before building, forcing a multi-second downtime window on every save. devloop builds first, then signals the old child to exit before starting the new one — the dead window is bounded by graceful shutdown, not by build time.

devloop is also the dev-time process supervisor: auxiliary children given via -proc (the dash0/status0 `bun run dev` servers) run as children of this foreground process and are reaped on shutdown, and every supervised stream (devloop's own lines, build output, each child's combined stdout/stderr) is mirrored to the terminal and to a size-rotated <name>.log under -log-dir.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL