diff --git a/docs/reference/compose_watch.md b/docs/reference/compose_watch.md index 0687046188..2a2d226efb 100644 --- a/docs/reference/compose_watch.md +++ b/docs/reference/compose_watch.md @@ -9,6 +9,7 @@ Watch build context for service and rebuild/refresh containers when files are up |:------------|:-----|:--------|:----------------------------------------------| | `--dry-run` | | | Execute command in dry run mode | | `--no-up` | | | Do not build & start services before watching | +| `--prune` | | | Prune dangling images on rebuild | | `--quiet` | | | hide build output | diff --git a/docs/reference/docker_compose_watch.yaml b/docs/reference/docker_compose_watch.yaml index 8cb20b1d43..454bf36342 100644 --- a/docs/reference/docker_compose_watch.yaml +++ b/docs/reference/docker_compose_watch.yaml @@ -17,6 +17,16 @@ options: experimentalcli: false kubernetes: false swarm: false + - option: prune + value_type: bool + default_value: "false" + description: Prune dangling images on rebuild + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false - option: quiet value_type: bool default_value: "false"