summaryrefslogtreecommitdiff
path: root/web/tutorials
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2013-06-04 10:10:34 +0200
committerJasper Van der Jeugt <m@jaspervdj.be>2013-06-04 10:10:34 +0200
commit569c6e035a10c2e3692b5cf72211ea2ad5526b01 (patch)
treef9be9d788a51579f71a869daa371ec8f6d6d25d0 /web/tutorials
parent7588d48618ec3d75579d226e85bb22e1d1014ba7 (diff)
downloadhakyll-569c6e035a10c2e3692b5cf72211ea2ad5526b01.tar.gz
Clarify ./site rebuild a bit
See #160
Diffstat (limited to 'web/tutorials')
-rw-r--r--web/tutorials/02-basics.markdown8
1 files changed, 6 insertions, 2 deletions
diff --git a/web/tutorials/02-basics.markdown b/web/tutorials/02-basics.markdown
index 77bbefc..2e224a7 100644
--- a/web/tutorials/02-basics.markdown
+++ b/web/tutorials/02-basics.markdown
@@ -16,8 +16,12 @@ directories:
`./site clean` removes these directories, and `./site rebuild` performs a
`clean` and then a `build`.
-In general, it's only necessary to use `rebuild` when you made changes to your
-`site.hs`, and not when you just made changes to the contents of your website.
+In general, you want to use `./site build` when you just made changes to the
+contents of your website. If you made important changes to `site.hs`, you need
+to recompile `site.hs` followed by a rebuild:
+
+ ghc --make site.hs
+ ./site rebuild
At this point, feel free to change some files, `./site build` and see what
happens!