Reference

Dev and serve

Runtime-owned development and production serve — no Vite or React host.

Summary

point dev checks your module graph and starts the owned runtime server. Runtime-owned apps (point.json runtime: "owned", the point create default) run through packages/point/runtime/ for interpreter, HTTP, and SSR.

point serve is the production counterpart — same runtime server without file watching.

Legacy Vite/React host workflows (full-stack-app, saas-app, vercel-app, point build-app) were removed in P10.

point dev

point dev src/app.point
point dev src/app.point --port 4000
point dev src/app.point --api
FlagEffect
--port <n>Runtime HTTP server port (default 3456)
--apiAPI-only hint for route modules (no separate UI process)

### Modes (auto-detected)

ModeWhenWhat runs
runtimepoint.json has runtime: "owned" or app surface (routes/pages/navigation/streams)Point runtime interpreter + HTTP + SSR
schedulesSchedule blocks + run entryRe-runs schedule entry on rebuild
runZero-input action/commandRe-runs entry (smoke / CLI apps)

On .point file changes, runtime-owned apps re-check and restart the runtime server.

### Runtime app template

point create my-app
cd my-app
bun install
point dev src/app.point

Open the URL printed by point dev.

For auth + SQLite, use the runtime SaaS template:

point create my-saas --template runtime-saas-app
cd my-saas
bun install
point run init database
point dev src/app.point

point serve

Production server for runtime-owned apps. No dist/ folder or route emit is required.

point serve src/app.point --port 8080

Or use template scripts: bun run serve.

FlagEffect
--port <n>Listen port (default 3456)
--static <dir>Unused for runtime-owned SSR (kept for CLI compatibility)

Routing:

  • JSON routes, SSR pages, forms, SSE, and WebSocket streams are served by the owned runtime
  • Static CSS (/point-ui.css) ships from the runtime package

Environment

VariableEffect
POINT_INCREMENTAL=1Cache unchanged modules during dev rebuilds
PORTOverride listen port for route/serve servers

See also