on master help sign in
Fix warning
3a78c2bJasper Van der Jeugt
src/Hakyll/Main.hs+2−2
@@ -87,11 +87,11 @@ preview configuration rules port = do
87 ruleSet <- run configuration rules
87 ruleSet <- run configuration rules
88
88
89 -- Get the resource list and a callback for the preview poll
89 -- Get the resource list and a callback for the preview poll
90− let resources = rulesResources ruleSet
90+ let resources' = rulesResources ruleSet
91 callback = build configuration rules
91 callback = build configuration rules
92
92
93 -- Fork a thread polling for changes
93 -- Fork a thread polling for changes
94− _ <- forkIO $ previewPoll configuration resources callback
94+ _ <- forkIO $ previewPoll configuration resources' callback
95
95
96 -- Run the server in the main thread
96 -- Run the server in the main thread
97 server configuration port
97 server configuration port