diff options
Diffstat (limited to 'src/Hakyll')
-rw-r--r-- | src/Hakyll/Main.hs | 4 |
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 |