CmdID / docker / docker compose
docker compose watch
Watch build context for service and rebuild/refresh containers when files are updated Docker Compose reference
4 options Its page in the Docker Compose reference
Options
--dry-runExecute command in dry run mode--no-upDo not build & start services before watching--prunePrune dangling images on rebuild--quiethide build output