Add polling auto-deploy loop (fix #5)