module

Flock::Cli::Commands::Dev

flock dev — build, run, and hot-reload: watches src/ + assets/, and on any change rebuilds and restarts the game. Ctrl-C stops.

Constants

POLL = 0.3
TERM_GRACE = 2.seconds

Grace period after SIGTERM before escalating to SIGKILL, for children that trap or ignore TERM (a hung game would otherwise block flock dev forever).

Instance methods

run(args : Array(String)) : Nil
Source