haskell-fswatch / hfsnotify

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

Not triggered for `git checkout` #72

Open michalrus opened 6 years ago

michalrus commented 6 years ago

This issue probably belongs to this repo:

https://github.com/schell/steeloverseer/issues/28

We have an automated /bin/sh test case there, which you can run.

What could be the reason for this behavior?

Thanks a lot!

typesanitizer commented 5 years ago

Think I'm encountering a bug where setting a debouncing interval manually leads to only the very first event being detected, and everything else in the future is discarded. You might be seeing the same issue because you're also setting the debounce time to a custom value here

    config = FSNotify.defaultConfig
      { FSNotify.confDebounce = FSNotify.Debounce 0.1 }

EDIT: Never mind, false alarm.