on master help sign in
Clarify ./site rebuild a bit

See #160

commit569c6e035a10c2e3692b5cf72211ea2ad5526b01 authorJasper Van der Jeugt <m@jaspervdj.be> dateTue 4 Jun 2013, 10:10 (13 years ago) parent7588d48
1 file changed+6−2
web/tutorials/02-basics.markdown+6−2
web/tutorials/02-basics.markdown+6−2
@@ -16,8 +16,12 @@ directories:
1616`./site clean` removes these directories, and `./site rebuild` performs a
1717`clean` and then a `build`.
1818
19−In general, it's only necessary to use `rebuild` when you made changes to your
20−`site.hs`, and not when you just made changes to the contents of your website.
19+In general, you want to use `./site build` when you just made changes to the
20+contents of your website. If you made important changes to `site.hs`, you need
21+to recompile `site.hs` followed by a rebuild:
22+
23+ ghc --make site.hs
24+ ./site rebuild
2125
2226At this point, feel free to change some files, `./site build` and see what
2327happens!