on master help sign in
Clarify ./site rebuild a bit
569c6e0Jasper Van der Jeugt
web/tutorials/02-basics.markdown+6−2
@@ -16,8 +16,12 @@ directories:
16`./site clean` removes these directories, and `./site rebuild` performs a
16`./site clean` removes these directories, and `./site rebuild` performs a
17`clean` and then a `build`.
17`clean` and then a `build`.
18
18
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
21
25
22At this point, feel free to change some files, `./site build` and see what
26At this point, feel free to change some files, `./site build` and see what
23happens!
27happens!