Skip to content

pitchfork wait

  • Usage: pitchfork wait <ID>
  • Aliases: w

Wait for a daemon to stop, tailing the logs along the way

Blocks until the specified daemon stops running, while displaying its log output in real-time. Exits with the same status code as the daemon.

Useful in scripts that need to wait for a daemon to complete.

Examples: pitchfork wait api Wait for 'api' to stop pitchfork w api Alias for 'wait' pitchfork wait api && echo done Run command after daemon stops

Arguments

<ID>

The name of the daemon to wait for

Released under the MIT License.