Serve: the watch loop

closed
Max Rakhimov · 2026-09-27 · b7e748dbcf2b · edited · issue

Poll git for-each-ref refs/heads refs/tags refs/gitmsg every 2 s and push when the output changes. One push runs at a time; changes during a push cause exactly one more push after it. A failed push keeps the last build served, prints the error, and the watch continues. Design: .local/design/serve.md.

blocked-by
#commit:4ebf89f67666@gitmsg/pm
edits
#commit:b7e748dbcf2b@gitmsg/pm
labels
kind/feature, area/cli
milestone
#commit:cfe7459e1f01@gitmsg/pm