summaryrefslogtreecommitdiff
path: root/src/Hakyll/Core/Run.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hakyll/Core/Run.hs')
-rw-r--r--src/Hakyll/Core/Run.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Hakyll/Core/Run.hs b/src/Hakyll/Core/Run.hs
index a777d0a..4842ea7 100644
--- a/src/Hakyll/Core/Run.hs
+++ b/src/Hakyll/Core/Run.hs
@@ -52,8 +52,8 @@ run configuration rules = do
let (firstRun, oldGraph) = case graph of Store.Found g -> (False, g)
_ -> (True, mempty)
- let ruleSet = runRules rules provider
- compilers = rulesCompilers ruleSet
+ ruleSet <- timed logger "Running rules" $ runRules rules provider
+ let compilers = rulesCompilers ruleSet
-- Extract the reader/state
reader = unRuntime $ addNewCompilers compilers