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

Speed up event processing #8

Merged
merged 12 commits into from
Apr 24, 2020
Prev Previous commit
Next Next commit
Remove single file support
  • Loading branch information
ammario committed Apr 24, 2020
commit ba23ea545eaadd970f3ea24bf8997581e233e296
2 changes: 1 addition & 1 deletion internal/sync/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (s Sync) initSync() error {

start := time.Now()
// Delete old files on initial sync (e.g git checkout).
err := s.syncPaths(true, s.LocalDir, s.RemoteDir)
err := s.syncPaths(true, s.LocalDir + "/.", s.RemoteDir)
if err == nil {
flog.Info("finished initial sync (%v)", time.Since(start).Truncate(time.Millisecond))
}
Expand Down