summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMartín Emanuel <31224949+emlautarom1@users.noreply.github.com>2020-04-11 15:19:59 -0300
committerGitHub <noreply@github.com>2020-04-11 20:19:59 +0200
commitaa5b25fc1f6cd34b0a802ae7d2f9ccb718287064 (patch)
tree3e5d0c10d2d74a6adc901668dc61b58d1e24de21 /lib
parent5713a2c7764266668f437083bfb0cb24151995cc (diff)
downloadhakyll-aa5b25fc1f6cd34b0a802ae7d2f9ccb718287064.tar.gz
Fix MonadFail compilation issue on Windows
See #764
Diffstat (limited to 'lib')
-rw-r--r--lib/Hakyll/Commands.hs2
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