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

Commit 1f596d8

Browse files
committed
Also delete extensions and settings to simulate a two-way mount
Resolves #27
1 parent a606829 commit 1f596d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.go

+3
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)