summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/hakyll/tutorial.markdown20
1 files changed, 15 insertions, 5 deletions
diff --git a/examples/hakyll/tutorial.markdown b/examples/hakyll/tutorial.markdown
index dc184a7..74bf826 100644
--- a/examples/hakyll/tutorial.markdown
+++ b/examples/hakyll/tutorial.markdown
@@ -235,18 +235,28 @@ this can generate more traffic than necessary, since it is possible that some
files were not actually modified. If you use `rsync`, you can counter this using
the `--checksum` option.
+### Using inotify for the preview server
+
+Hakyll is able to use [inotify] to power the preview server. This is generally
+faster and uses less resources than the default. However, [inotify] is only
+supported on linux systems. You can enable the bindings using:
+
+ [jasper@phoenix] cabal install -finotify hakyll
+
+[inotify]: http://inotify.aiken.cz/
+
Problems
--------
### regex-pcre dependency on Mac OS X
Hakyll requires [regex-pcre], which might fail to build on Mac OS X. To solve
-this problem:
+this problem, make sure the [pcre] C library is installed (via homebrew or
+macports). Then install [regex-pcre] using:
+
+ cabal install --extra-include-dirs=/usr/local/include regex-pcre
-- make sure the [pcre] C library is installed (via homebrew or macports);
-- install [regex-pcre] using
- `cabal install --extra-include-dirs=/usr/local/include regex-pcre`;
-- proceed to install Hakyll the regular way.
+...and proceed to install Hakyll the regular way.
[regex-pcre]: http://hackage.haskell.org/package/regex-pcre
[pcre]: http://www.pcre.org/