pw code daemon
pw code daemon
Manage the pw code app-server daemon
Synopsis
The daemon hosts live pw code sessions on a local Unix socket, so a session outlives the terminal that started it and can be reattached from this machine, from pw code attach on another machine, or from the web app when remote control is on.
pw code starts the daemon automatically and it keeps running until stopped. After an upgrade, an outdated daemon is replaced once it is idle. Its socket and log (code-daemon-<host>.log) live under ~/.local/state/pw.
pw code daemon [flags]Examples
pw code daemon status
# Stop it, for example at the end of a CI job that ran pw code -p
pw code daemon stopOptions
-h, --help help for daemonOptions inherited from parent commands
--context string The context to use. Overrides PW_CONTEXT environment variable and current context from config.
--platform-host string The Parallel Works ACTIVATE platform host to use. Overrides PW_PLATFORM_HOST environment variable and the current context's server.
-v, --verbose Enable verbose loggingSEE ALSO
- pw code - AI coding agent
- pw code daemon start - Start the daemon in the background
- pw code daemon status - Show daemon status
- pw code daemon stop - Stop the daemon