summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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