summaryrefslogtreecommitdiff
path: root/src/Hakyll/Web/Preview/Poll.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2012-11-13 15:10:01 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2012-11-13 15:10:01 +0100
commitd2e913f42434841c584b97ae9d5417ff2737c0ce (patch)
tree488bb4b615df917bd784f6b9c854262243ae3dce /src/Hakyll/Web/Preview/Poll.hs
parent89272dd97f805695b3d03f9a9fb05d22f30d8a7d (diff)
downloadhakyll-d2e913f42434841c584b97ae9d5417ff2737c0ce.tar.gz
Work a bit on new runtime
Diffstat (limited to 'src/Hakyll/Web/Preview/Poll.hs')
-rw-r--r--src/Hakyll/Web/Preview/Poll.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Hakyll/Web/Preview/Poll.hs b/src/Hakyll/Web/Preview/Poll.hs
index 69acdc6..7ea033f 100644
--- a/src/Hakyll/Web/Preview/Poll.hs
+++ b/src/Hakyll/Web/Preview/Poll.hs
@@ -19,9 +19,9 @@ import Hakyll.Core.Configuration
-- | A preview thread that periodically recompiles the site.
--
-previewPoll :: HakyllConfiguration -- ^ Configuration
- -> IO [FilePath] -- ^ Updating action
- -> IO () -- ^ Can block forever
+previewPoll :: Configuration -- ^ Configuration
+ -> IO [FilePath] -- ^ Updating action
+ -> IO () -- ^ Can block forever
previewPoll _ update = do
#if MIN_VERSION_directory(1,2,0)
time <- getCurrentTime