Browse files

Merge pull request #324 from anarcat/auto-impr

add another auto-refresh example: entr
  • Loading branch information...
saimn committed May 2, 2018
2 parents d6843ce + 87c396d commit 8c753749069843f30be95fdbd52528f5b1d32059
Showing with 5 additions and 3 deletions.
  1. +5 −3 docs/faq.rst
@@ -83,10 +83,12 @@ How to regenerate the gallery when something changes ?
It can be convenient to build continuously the gallery when adding or removing
pictures in the albums, however Sigal does not provide currently a buitin
"autoreload" feature. This can be achieved with external tool like `peat
<>`_, `entr <>`_, and probably
many others. For instance, with peat::
peat --dynamic 'find pictures/' 'sigal build'
will watch changes inside the ``pictures/`` directory and rebuild the gallery in
this case.
this case. Many other tools do similar things, here is the equivalent
command with `entr <>`_::
while true; do find pictures/ | entr -d sigal build; done

0 comments on commit 8c75374

Please sign in to comment.