compose
compose copied to clipboard
feat(watch): Add --prune option to docker-compose watch command
What I did
Added the --prune option to the docker-compose watch command. This option ensures that dangling images are pruned automatically when rebuilding, helping to keep the Docker environment clean and efficient.
Related issue https://github.com/docker/compose/issues/11073