Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Runtime serving command

ox runtime serve exposes the Runtime contract serving surface around one compiled artifact. It does not compile source — a caller runs ox build first and passes the resulting .oxbin.

ox runtime serve \
  --project . \
  --oxbin target/main.oxbin \
  --host 127.0.0.1 --port 7780 \
  --storage mem

Postgres-backed serving uses the same .oxbin plus a durable ABox event log (--storage pg --database-url "$DATABASE_URL"). Watch-mode compilation, if tooling enables it, is a separate process that rewrites the artifact; the serving process hot-reloads only after the Runtime contract compatibility checks pass.