Subcommands
daemon start
Start the background daemon.
The daemon writes a PID file to
.complior/daemon.pid:
daemon status
Show running daemon status.
daemon stop
Stop the running daemon.
Auto-launch
When you runcomplior (TUI), it automatically:
- Checks for a running daemon via
.complior/daemon.pid - If found → connects to it (won’t kill on TUI exit)
- If not found → starts a new daemon (auto-managed)
File watcher
With--watch enabled, the daemon monitors your project for file changes:
- Debounce: 200ms after last change
- Trigger: Auto-rescan → score update → SSE notification
- Scope: Files matching scan patterns (not
node_modules,.git, etc.)