ENGDOCS-2238 (#21029)

* ENGDOCS-2238

* ENGDOCS-2238
This commit is contained in:
Allie Sadler 2024-10-01 08:30:32 +01:00 committed by GitHub
parent 473a90f86b
commit 953a638e5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@ aliases:
You don't need to switch on `watch` for all services in a Compose project. In some instances, only part of the project, for example the Javascript frontend, might be suitable for automatic updates.
Compose Watch is designed to work with services built from local source code using the `build` attribute. It doesn't track changes for services that rely on pre-built images specified by the `image` attribute.
## Compose Watch versus bind mounts
Compose supports sharing a host directory inside service containers. Watch mode does not replace this functionality but exists as a companion specifically suited to developing in containers.