diff options
author | MartÃn Emanuel <31224949+emlautarom1@users.noreply.github.com> | 2020-04-11 15:19:59 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 20:19:59 +0200 |
commit | aa5b25fc1f6cd34b0a802ae7d2f9ccb718287064 (patch) | |
tree | 3e5d0c10d2d74a6adc901668dc61b58d1e24de21 /lib/Hakyll | |
parent | 5713a2c7764266668f437083bfb0cb24151995cc (diff) | |
download | hakyll-aa5b25fc1f6cd34b0a802ae7d2f9ccb718287064.tar.gz |
Fix MonadFail compilation issue on Windows
See #764
Diffstat (limited to 'lib/Hakyll')
-rw-r--r-- | lib/Hakyll/Commands.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |