Visitar URL original
Support for docker compose watch · Issue #266 · PDMLab/docker-compose · GitHub
Skip to content

Support for docker compose watch #266

Open

Description

@stevenengland

Hi,

might it be feasable to support watch as a subcommand in the future? See here: https://docs.docker.com/compose/file-watch/

KR

Activity

  1. AlexZeitler commented on Mar 5, 2024

    @AlexZeitler
    Contributor

    @stevenengland we need to look into it. What would be the use case in the context of this library you're thinking of?

  2. stevenengland commented on Mar 5, 2024

    @stevenengland
    Author

    Today I use this lib to 'up' containers for development porposes (e2e tests) that where made to work with mounts/volumes (volumes are the mapped apps source and test folders so to say). Nowadays there is the option to replace mounts/volumes with watch directives that automatically sync files/dirs or rebuild the complete image if needed. In a development process this has a few advantages over mounts.

  3. AlexZeitler commented on Mar 5, 2024

    @AlexZeitler
    Contributor

    That sounds useful and should be added.

    However, I'll need some time to test it as I'm doing only little Node.js these days (actually this lib is the only Node.js stuff at the moment) and my usage of docker compose has changed in the past few months.

    If somebody is open to help: we're accepting PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions