Quartz::Build::Watcher
Rebuilds a Driver whenever any tracked source file changes on disk. Uses mtime polling so we don't depend on inotify/kqueue. Simple, portable, and adequate for human-scale edit loops.
Constants
DEFAULT_INTERVAL = 500.milliseconds
WATCH_EXTS = {".c", ".cc", ".cpp", ".h", ".hpp", ".s", ".fam", ".png"}
Constructors
Instance methods
driver
Sourceinterval
Sourcerun
Block-based loop. Caller passes a block invoked after each rebuild attempt with the CompiledFap or the exception raised.
scan
Enumerate every watchable file under app_dir. Hidden dirs and build artifacts are skipped so touching dist/ never triggers its own rebuild.