docker-compose
docker-compose copied to clipboard
Support for docker compose watch
Hi,
might it be feasable to support watch as a subcommand in the future? See here: https://docs.docker.com/compose/file-watch/
KR
@stevenengland we need to look into it. What would be the use case in the context of this library you're thinking of?
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.
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