summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2014-04-07 19:49:17 +0200
committerJasper Van der Jeugt <m@jaspervdj.be>2014-04-07 19:49:17 +0200
commit889e6f59f761795af3f2cb83c2a551b9c8478d66 (patch)
treeefb91ec34c91ccd174334ebdcf0423705e8f1ff5
parent8dcc8f846ad2d3f5c965583c8d902f3fc4f9d1b9 (diff)
downloadhakyll-889e6f59f761795af3f2cb83c2a551b9c8478d66.tar.gz
Fix compilation when disabling preview server
-rw-r--r--hakyll.cabal2
-rw-r--r--src/Hakyll/Commands.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/hakyll.cabal b/hakyll.cabal
index 0a31f87..40fa251 100644
--- a/hakyll.cabal
+++ b/hakyll.cabal
@@ -1,5 +1,5 @@
Name: hakyll
-Version: 4.5.0.2
+Version: 4.5.1.0
Synopsis: A static website compiler library
Description:
diff --git a/src/Hakyll/Commands.hs b/src/Hakyll/Commands.hs
index e221dc5..8db889c 100644
--- a/src/Hakyll/Commands.hs
+++ b/src/Hakyll/Commands.hs
@@ -102,7 +102,7 @@ watch conf verbosity host port runServer rules = do
loop = threadDelay 100000 >> loop
server' = if runServer then server conf host port else loop
#else
-watch _ _ _ _ = watchServerDisabled
+watch _ _ _ _ _ _ = watchServerDisabled
#endif
--------------------------------------------------------------------------------