diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-02-15 16:53:34 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-02-15 16:53:34 +0100 |
commit | 4f5d4c166c37cc0526540852a57e678e5f5e00dc (patch) | |
tree | 3469ef05a02cabe3141093eed00a02f7403bf2d2 | |
parent | 7fa4011d348d271669f73ba3d8bdcbbb074066ae (diff) | |
download | hakyll-4f5d4c166c37cc0526540852a57e678e5f5e00dc.tar.gz |
Wrote about autocompilation in a tutorial.
-rw-r--r-- | examples/hakyll/templates/tutorials.html | 4 | ||||
-rw-r--r-- | examples/hakyll/tutorial7.markdown | 19 |
2 files changed, 21 insertions, 2 deletions
diff --git a/examples/hakyll/templates/tutorials.html b/examples/hakyll/templates/tutorials.html index 3e01bb7..fb567c0 100644 --- a/examples/hakyll/templates/tutorials.html +++ b/examples/hakyll/templates/tutorials.html @@ -1,6 +1,6 @@ -<h2>Tutorials about hakyll</h2> +<h2>Tutorials about Hakyll</h2> <p> - Here is a list of tutorials I've written about hakyll: + Here is a list of tutorials I've written about Hakyll: </p> <ul> $body diff --git a/examples/hakyll/tutorial7.markdown b/examples/hakyll/tutorial7.markdown new file mode 100644 index 0000000..0fd6d75 --- /dev/null +++ b/examples/hakyll/tutorial7.markdown @@ -0,0 +1,19 @@ +--- +title: Tips and Tricks +what: some various tips and tricks about Hakyll +--- + +## Auto-compilation + +Hakyll features a simple _auto-compilation_ mode. This is invoked by running + +~~~~~ +[jasper@alice ~]$ ./hakyll preview +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. |