HSX_E_DEV_MANAGED_RESTART
Managed dev session failed to restart.
What this error means
The managed process stopped but its next generation did not become ready.
When this error stops a command, hs-x exits with code 1. With --json, the failure is reported as a structured error whose code field is HSX_E_DEV_MANAGED_RESTART — stable to match on in scripts and agents.
Likely causes
- The original ports are no longer available
- The project now fails startup validation
How to fix it
- Read the stderrPath returned in the error payload
- Fix startup, then retry
hs-x dev restart --session <id> --yes
Still stuck? Re-run the command with --debug for the wire-level detail, or hs-x doctor to check accounts, link state, and connectivity in one pass.
Keep going