@@ -22,11 +22,17 @@ Hakyll features a simple _auto-compilation_ mode. This is invoked by running
22Starting hakyll server on port 8000...
22Starting hakyll server on port 8000...
25−Now, Hakyll will recompile your site when you change files, so you can just
25+Now, Hakyll will recompile your site when you refresh in your browser. This will
26−refresh in your browser. There is one more thing to note: this will not update
27−your site automatically when `hakyll.hs` changes. So if you make any changes to
26+not update your site automatically when `hakyll.hs` changes. So if you make any
28−the configuration file, you'll have to compile it again, and then you can enter
27+changes to the configuration file, you'll have to compile it again, and then you
29−`preview` mode again.
28+can enter `preview` mode again.
30+If you use a custom `HakyllConfiguration`, you can select your custom
33+- `BuildOnRequest`: rebuild site when the preview server receives a request
35+- `BuildOnInterval`: build when you change files.
31## When to rebuild
37## When to rebuild