summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/hakyll/changelog.markdown10
-rw-r--r--examples/hakyll/tutorials/part08.markdown16
2 files changed, 21 insertions, 5 deletions
diff --git a/examples/hakyll/changelog.markdown b/examples/hakyll/changelog.markdown
index a182c67..b8f2489 100644
--- a/examples/hakyll/changelog.markdown
+++ b/examples/hakyll/changelog.markdown
@@ -2,6 +2,16 @@
title: Changelog
---
+## Hakyll 2.3
+
+- Ability to choose between preview modes.
+- Simple static configuration available.
+- Support hamlet templates.
+
+## Hakyll 2.2.2
+
+- Cabal dependency fixes.
+
## Hakyll 2.2.1
- Allow custom time locale for `renderDate`.
diff --git a/examples/hakyll/tutorials/part08.markdown b/examples/hakyll/tutorials/part08.markdown
index bfb986b..a7072fc 100644
--- a/examples/hakyll/tutorials/part08.markdown
+++ b/examples/hakyll/tutorials/part08.markdown
@@ -22,11 +22,17 @@ Hakyll features a simple _auto-compilation_ mode. This is invoked by running
Starting hakyll server on port 8000...
~~~~~
-Now, Hakyll will recompile your site when you change files, so you can just
-refresh in your browser. There is one more thing to note: this will not update
-your site automatically when `hakyll.hs` changes. So if you make any changes to
-the configuration file, you'll have to compile it again, and then you can enter
-`preview` mode again.
+Now, Hakyll will recompile your site when you refresh in your browser. This will
+not update your site automatically when `hakyll.hs` changes. So if you make any
+changes to the configuration file, you'll have to compile it again, and then you
+can enter `preview` mode again.
+
+If you use a custom `HakyllConfiguration`, you can select your custom
+`PreviewMode`:
+
+- `BuildOnRequest`: rebuild site when the preview server receives a request
+ (default).
+- `BuildOnInterval`: build when you change files.
## When to rebuild