Skip to main content

Usage

Starts the Rsbuild dev server for your LinkApp. The CLI will try port 3000; if it is busy, it picks the next available port and prints it.

Options

What it does

  • Generates .linkapp entrypoints for layouts found in your project (sheet, featured, and featured-carousel when present).
  • Serves static assets from your project public/ folder (mirrors legacy dev-server behavior).
  • Watches linkapp.config.ts (root or .config/) and restarts the dev server when it changes.
  • Prints ready URLs and the latest ready time after each start or restart.

Keyboard shortcuts

  • r — restart the dev server
  • u — show the current URLs
  • c — clear the console
  • q or Ctrl+C — exit

Typical flow

If the CLI restarts after a config change, it reloads preview props and settings from linkapp.config.ts before serving again.