watcher is a Go package for watching for files or directory changes without using filesystem events.
BSD 3-Clause "New" or "Revised" License
1.48k
stars
183
forks
source link
watcher.go: replaced the orig code `time.Sleep(d)` #85
Closed
ttys3 closed 2 years ago
watcher.go: replaced the orig code
time.Sleep(d)
to make w.close channel can recvwhile in 'a very long Sleeping time' condition