From 569c6e035a10c2e3692b5cf72211ea2ad5526b01 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Tue, 4 Jun 2013 10:10:34 +0200 Subject: Clarify ./site rebuild a bit See #160 --- web/tutorials/02-basics.markdown | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'web/tutorials') 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! -- cgit v1.2.3