ksp dev
DocsCLIksp dev

ksp dev

Command Reference

Run KSP server and client simultaneously in hot-reload watch mode for rapid local application iteration.

Core & Lifecycle

Purpose

Run KSP server and client simultaneously in hot-reload watch mode for rapid local application iteration.

Syntax

Command-line specification
bash / powershell
ksp dev [OPTIONS]

Options & Flags

Option FlagDescription
--watch <DIR>Watch directory for source file changes (`./src`).
--port <PORT>Development server listening port (default: `9876`).

Example Usage

Example command
ksp dev --watch ./src

Expected Output

  [+] Starting KSP Hot-Reload Development Sandbox...
  [+] Watching ./src for changes...
  [+] Local Server running on 127.0.0.1:9876
  [✔] Ready! Any file edit will instantly trigger zero-downtime stream reload.
Implementation Notes

Dramatically boosts developer productivity when building complex multi-stream KSP applications.