Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for docker compose watch #266

Open
stevenengland opened this issue Mar 5, 2024 · 3 comments
Open

Support for docker compose watch #266

stevenengland opened this issue Mar 5, 2024 · 3 comments

Comments

@stevenengland
Copy link

Hi,

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

KR

@AlexZeitler
Copy link
Contributor

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

@stevenengland
Copy link
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.

@AlexZeitler
Copy link
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
Projects
None yet
Development

No branches or pull requests

2 participants