haskell-fswatch / hfsnotify

Unified Haskell interface for basic file system notifications
BSD 3-Clause "New" or "Revised" License
136 stars 40 forks source link

removeWatch: invalid argument (Bad file descriptor) #100

Closed domenkozar closed 3 years ago

domenkozar commented 3 years ago

If you start listening for events and immediately finish, it seems like there is a race condition that results into the following error.