mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-09 20:33:26 +00:00
`embark console` registers and tries to spin up `Cockpit`, even when there's already a Cockpit instance running and thefore exits with an error that a certain port is already in use. This commit ensures that Cockpit is only bootstrapped when `embark console` is executed as a non-secondary process, meaning that there's no other `embark run` process active that might occupy Cockpit's default port.