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

Commit

Permalink
Also delete extensions and settings to simulate a two-way mount
Browse files Browse the repository at this point in the history
Resolves #27
  • Loading branch information
ammario committed Apr 23, 2019
1 parent a606829 commit 1f596d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ func rsync(src string, dest string, sshFlags string, excludePaths ...string) err
// Only update newer directories, and sync times
// to keep things simple.
"-u", "--times",
// This is more unsafe, but it's obnoxious having to enter VS Code
// locally in order to properly delete an extension.
"--delete",
"--copy-unsafe-links",
src, dest,
)...,
Expand Down

0 comments on commit 1f596d8

Please sign in to comment.