summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2011-04-14 10:17:55 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2011-04-14 10:17:55 +0200
commit3a78c2be92cfd5d60c3b03350271a693cdbc96ea (patch)
tree205d754da825c40cd8f630c75b1fc7a7dd895427 /src
parent5327e881609c882df17c82723d452950658b9e8f (diff)
downloadhakyll-3a78c2be92cfd5d60c3b03350271a693cdbc96ea.tar.gz
Fix warning
Diffstat (limited to 'src')
-rw-r--r--src/Hakyll/Main.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Hakyll/Main.hs b/src/Hakyll/Main.hs
index 04b4cea..c51bd47 100644
--- a/src/Hakyll/Main.hs
+++ b/src/Hakyll/Main.hs
@@ -87,11 +87,11 @@ preview configuration rules port = do
ruleSet <- run configuration rules
-- Get the resource list and a callback for the preview poll
- let resources = rulesResources ruleSet
+ let resources' = rulesResources ruleSet
callback = build configuration rules
-- Fork a thread polling for changes
- _ <- forkIO $ previewPoll configuration resources callback
+ _ <- forkIO $ previewPoll configuration resources' callback
-- Run the server in the main thread
server configuration port