Skip to main content

bleep compile

compile selected projects (or every project), respects the dependency graph; supports watch mode

Synopsis

bleep compile <project name...> [flags]

Arguments

ArgumentType
project nameone or more

Flags

FlagDescription
--watch, -wstart in watch mode
--invalidated <base ref>build only what a git diff invalidated: projects whose sources or config changed vs a base ref, plus every project transitively depending on them. Bare --invalidated compares against this branch's upstream, --invalidated=<ref> against that ref. Nothing invalidated builds nothing
--no-tuidisable TUI, keep the full streaming trace (for CI/agents that read logs)
--quiet, -qonly failures and the final summary
--diff-watchwatch mode with per-project diffs between cycles
--flamegraphgenerate execution trace (open in chrome://tracing or ui.perfetto.dev)
--cancelcancel any running build before starting
--diff <history id>after the run, print only what changed vs a recorded run: bare --diff compares against the most recent compile (with --watch: the previous cycle), --diff=<id> against that history entry (with --watch: a fixed baseline for every cycle)
--output, -o <string>with --diff: 'text' renders the diff for humans (default), 'json' prints the diff document

See also

The run history & diffs guide tells the whole story — what gets recorded, diffing runs, the --diff edit loop, cross-worktree comparisons — with a demo video.