@@ -22,13 +22,13 @@ import Hakyll.Web.Preview.Server
2222
2323-- | This usualy is the function with which the user runs the hakyll compiler
2424--
25−hakyll :: Rules -> IO ()
25+hakyll :: RulesM a -> IO ()
2626hakyll = hakyllWith defaultHakyllConfiguration
2727
2828-- | A variant of 'hakyll' which allows the user to specify a custom
2929-- configuration
3030--
31−hakyllWith :: HakyllConfiguration -> Rules -> IO ()
31+hakyllWith :: HakyllConfiguration -> RulesM a -> IO ()
3232hakyllWith conf rules = do
3333 args <- getArgs
3434 case args of
@@ -44,7 +44,7 @@ hakyllWith conf rules = do
4444
4545-- | Build the site
4646--
47−build :: HakyllConfiguration -> Rules -> IO ()
47+build :: HakyllConfiguration -> RulesM a -> IO ()
4848build conf rules = do
4949 _ <- run conf rules
5050 return ()
@@ -84,7 +84,7 @@ help = do
8484
8585-- | Preview the site
8686--
87−preview :: HakyllConfiguration -> Rules -> Int -> IO ()
87+preview :: HakyllConfiguration -> RulesM a -> Int -> IO ()
8888preview conf rules port = do
8989 -- Fork a thread polling for changes
9090 _ <- forkIO $ previewPoll conf update
@@ -96,7 +96,7 @@ preview conf rules port = do
9696
9797-- | Rebuild the site
9898--
99−rebuild :: HakyllConfiguration -> Rules -> IO ()
99+rebuild :: HakyllConfiguration -> RulesM a -> IO ()
100100rebuild conf rules = do
101101 clean conf
102102 build conf rules