Commit 01a0f97
Update file-watch.md: add ignore attribute path (#21820)
## 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.
---------
Co-authored-by: Allie Sadler <[email protected]>
Co-authored-by: Guillaume Lours <[email protected]>1 parent bdd2872 commit 01a0f97
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
117 | 121 | | |
118 | 122 | | |
119 | 123 | | |
120 | 124 | | |
121 | 125 | | |
122 | 126 | | |
123 | 127 | | |
124 | | - | |
| 128 | + | |
| 129 | + | |
125 | 130 | | |
126 | 131 | | |
127 | 132 | | |
| |||
152 | 157 | | |
153 | 158 | | |
154 | 159 | | |
| 160 | + | |
| 161 | + | |
155 | 162 | | |
156 | 163 | | |
157 | 164 | | |
| |||
0 commit comments