Skip to content

x-initialSync missing from docker compose watch page #23345

@akeldamas

Description

@akeldamas

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Other

Description

The x-initialSync option for Docker Compose watch is missing from the official documentation despite being a useful feature for ensuring files are synchronized when watch mode starts.

It should be documented alongside other watch configuration options instead of directing developers to third party forums.

Location

https://docs.docker.com/compose/how-tos/file-watch/

Suggestion

Add a small section under the header configuration. The action, path, target, and ignore are already described so I don't see a reason x-initialSync can't be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/composeRelates to docker-compose.yml spec or docker-compose binarystatus/triageNeeds triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions