dot.dev_already_running

failureThis is a failure. A function returns it as a value, so your code keeps running and you decide what to do.

What happened

Another `dot dev` is alive in this project: its pid is in the state file.

Fix

Stop the other `dot dev`; if its pid is not a `dot dev`, delete the file in `.error.data.statePath`.

Check the fix

dot dev --once --json | jq -e .ok

Run it after the fix. It passes when the fix worked.

Where it comes from

Package
@arki/dot
Version
0.7.0 · next release candidate
Source
src/cli/failures.ts:424