Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
joelim-work committed Jan 17, 2025
1 parent a1c7449 commit e99b010
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ func (watch *watch) addUpdate(path string) {
watch.updates[path] = true
}

// Hacky workaround since fsnotify reports changes for only one path if a
// directory is located at more than one path.
func (watch *watch) getSameDirs(dir string) []string {
var paths []string

Expand Down

0 comments on commit e99b010

Please sign in to comment.