Skip to content

docs: clarify Compose Watch restart vs rebuild in getting started - #25763

Open
locker95 wants to merge 1 commit into
docker:mainfrom
locker95:docs/compose-watch-gettingstarted-clarify
Open

docs: clarify Compose Watch restart vs rebuild in getting started#25763
locker95 wants to merge 1 commit into
docker:mainfrom
locker95:docs/compose-watch-gettingstarted-clarify

Conversation

@locker95

Copy link
Copy Markdown
Contributor

The getting started guide’s Watch step mixed up rebuild and restart, and said the greeting updates “without any restart” even though the example uses sync+restart.

Clarified that ordinary code edits sync into /code and restart the service container (no image rebuild), while rebuild is only for requirements.txt.

Fixes #25643

sync+restart restarts the container for code changes; rebuild is only
for dependency changes. Fix the step text that claimed no restart.

Signed-off-by: Dean Chen <862469039@qq.com>
@locker95
locker95 requested a review from aevesdocker as a code owner August 10, 2026 22:47
@netlify

netlify Bot commented Aug 10, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit c608dc6
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a7a551b10e3fc000833ed81
😎 Deploy Preview https://deploy-preview-25763--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the area/compose Relates to docker-compose.yml spec or docker-compose binary label Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/compose Relates to docker-compose.yml spec or docker-compose binary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker Compose Watch not working as expected in the guide

1 participant