diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-08-06 13:39:43 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-08-06 13:39:43 +0200 |
commit | 253f7c65b64addb434fc0cebe57a25ca59274f89 (patch) | |
tree | 8639f4371a43495f281d3ea8c75ebd0858f5a1d9 /examples | |
parent | d3b87ba2590480a05d8b13770889ac1f14a2b573 (diff) | |
download | hakyll-253f7c65b64addb434fc0cebe57a25ca59274f89.tar.gz |
Version bump
Diffstat (limited to 'examples')
-rw-r--r-- | examples/hakyll/changelog.markdown | 10 | ||||
-rw-r--r-- | examples/hakyll/tutorials/part08.markdown | 16 |
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 |