# Hot reload for the dev container (AGENT.md ยง2). Static assets under web/static # and components/ are served live from disk, so they need no rebuild; only Go # and template (.html) changes trigger a rebuild + restart. root = "." tmp_dir = "tmp" [build] cmd = "go build -o ./tmp/gitmanager ./cmd/server" bin = "./tmp/gitmanager" include_ext = ["go", "html"] exclude_dir = ["tmp", "bin", ".git", "repos"] delay = 500 stop_on_error = true # Poll for changes instead of relying on fsnotify: filesystem events do NOT # cross the Windows host -> Linux container bind mount, so watch-based reload # silently never fires. Polling is the reliable option in Docker on Windows. poll = true poll_interval = 500 [log] time = true [misc] clean_on_exit = true