Skip to content
This repository was archived by the owner on Jan 17, 2021. It is now read-only.

Commit 188ee6d

Browse files
authored
Merge pull request #44 from codercom/rsync-delete
Also delete extensions and settings to simulate a two-way mount
2 parents a606829 + 1f596d8 commit 188ee6d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,9 @@ func rsync(src string, dest string, sshFlags string, excludePaths ...string) err
327327
// Only update newer directories, and sync times
328328
// to keep things simple.
329329
"-u", "--times",
330+
// This is more unsafe, but it's obnoxious having to enter VS Code
331+
// locally in order to properly delete an extension.
332+
"--delete",
330333
"--copy-unsafe-links",
331334
src, dest,
332335
)...,

0 commit comments

Comments
 (0)