-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Update file-watch.md: add ignore attribute path #21820
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
Conversation
add ignore path which is the relative to the path defined in teh same watch
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
hi, @aevesdocker can you help review this change |
|
hi @glours can you help review this |
glours
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hanjie-chen @aevesdocker LGTM when the 2 comments I made will be addressed
Co-authored-by: Guillaume Lours <705411+glours@users.noreply.github.com>
aevesdocker
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @hanjie-chen, and thanks @glours for the review
|
Thanks @aevesdocker and @glours for the reviews ! |
Description
I added some explanation about the
ignoreattribute in the watch rule. I noticed the document says: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
ignorepath is actually relative to thepathdefined in the samewatchrule, 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.