Skip to content

Commit a2afe7a

Browse files
committed
Clarify that sync of file deletion cannot work in inferred sync mode
Signed-off-by: Cornelius Weig <[email protected]>
1 parent d5b6806 commit a2afe7a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/content/en/docs/how-tos/filesync/_index.md

+3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ And a `skaffold.yaml` with the following sync configuration:
4242
- The third rule synchronizes any `png`. For example if `assest/img.png``assets/img.png` or `static-html/imgs/demo.png``static/imgs/demo.png`.
4343
- The last rule enables synchronization for all `md` files below the `content/en`.
4444
For example, `content/en/sub/index.md``content/sub/index.md` but _not_ `content/en_GB/index.md`.
45+
46+
Inferred sync mode only applies to modified and added files.
47+
File deletion will always cause a complete rebuild.
4548

4649
### Manual sync mode
4750

docs/design_proposals/sync-improvements.md

+1
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ Resolution: This is an implementation detail.
304304

305305
- **implementation step 3** Set up automatic destination syncing and delete a local input file.
306306
Expect that the input file is also deleted in the container.
307+
_Update_: This expectation cannot be met, because a deleted file is no longer contained in the inferred syncmap. Thus file deletion with inferred sync mode must trigger a rebuild.
307308

308309
- **implementation step 4** Add a test case that that features builder plugin sync patterns.
309310

0 commit comments

Comments
 (0)