Closed ismail-s closed 7 years ago
Looks good — could you fix the ambiguous occurrence of catch on ghc 7.4? Then I'll be happy to merge this.
Whoever wrote this blogpost would probably be annoyed with me, but I think 49952b0 should fix this.
Yeah, I'm not a fan of this solution either. A better approach is to say
import Control.Exception as E
and then use E.catch
. Could you try that instead?
There you go.
Awesome, thanks! Released as 0.2.1.1
@feuerbach See snoyberg/keter#167 for more info on the background behind this PR. I have tested this PR manually on the environment mentioned in that issue, where
initInotify
isn't available, and as expected hfsnotify switched to polling. I have only added exception catching for Linux as I am not running or testing on any other platforms, and wanted this PR to be as small as possible.