From aa5b25fc1f6cd34b0a802ae7d2f9ccb718287064 Mon Sep 17 00:00:00 2001 From: Martín Emanuel <31224949+emlautarom1@users.noreply.github.com> Date: Sat, 11 Apr 2020 15:19:59 -0300 Subject: Fix MonadFail compilation issue on Windows See #764 --- lib/Hakyll/Commands.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Hakyll/Commands.hs b/lib/Hakyll/Commands.hs index 84d1c56..38b9344 100644 --- a/lib/Hakyll/Commands.hs +++ b/lib/Hakyll/Commands.hs @@ -98,7 +98,7 @@ watch conf logger host port runServer rules = do #else -- Force windows users to compile with -threaded flag, as otherwise -- thread is blocked indefinitely. - catchIOError (void $ forkOS $ watchUpdates conf update) $ do + catchIOError (void $ forkOS $ watchUpdates conf update) $ \_ -> do fail $ "Hakyll.Commands.watch: Could not start update watching " ++ "thread. Did you compile with -threaded flag?" #endif -- cgit v1.2.3