Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit ed23f64

Browse files
committed
Document test command
1 parent c2ca1ea commit ed23f64

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: internal/sync/sync.go

+3
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@ const (
214214
maxAcceptableDispatch = time.Millisecond * 50
215215
)
216216

217+
// Run starts the sync synchronously.
218+
// Use this command to debug what wasn't sync'd correctly:
219+
// rsync -e "coder sh" -nicr ~/Projects/cdr/coder-cli/. ammar:/home/coder/coder-cli/
217220
func (s Sync) Run() error {
218221
setConsoleTitle("⏳ syncing project")
219222
err := s.initSync()

0 commit comments

Comments
 (0)