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

Update file-watch.md: add ignore attribute path #21820

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hanjie-chen
Copy link

Description

I added some explanation about the ignore attribute in the watch rule. I noticed the document says:

All paths are relative to the project directory

However, when I deployed it in my project, I found that my container was rebuilding crazily based on the action I defined.

After testing, I discovered that the ignore path is actually relative to the path defined in the same watch rule, not the project directory. I also confirmed this with the AI on the Docker Docs website.

This PR updates the documentation to clarify this behavior.

add ignore path which is the relative to the path defined in teh same watch
@github-actions github-actions bot added the area/compose Relates to docker-compose.yml spec or docker-compose binary label Jan 15, 2025
Copy link

netlify bot commented Jan 15, 2025

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit fc9833d
🔍 Latest deploy log https://app.netlify.com/sites/docsdocker/deploys/6787650fb390190008fe82a2
😎 Deploy Preview https://deploy-preview-21820--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 site configuration.

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.

1 participant