URI:
       README: add example script for a possible workflow - saait - the most boring static page generator
  HTML git clone git://git.codemadness.org/saait
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 9789f45cbe96a0eb26621f7fb036a8a2db6daed8
   DIR parent 5bf956a1f444ba5ec786a887f575668f42313d15
  HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sat, 15 Feb 2020 00:12:34 +0100
       
       README: add example script for a possible workflow
       
       Diffstat:
         M README                              |      17 +++++++++++++++++
       
       1 file changed, 17 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/README b/README
       @@ -33,6 +33,23 @@ Tested and works on
        - Windows (mingw and cygwin).
        
        
       +Example of a workflow
       +---------------------
       +
       +This script monitors pages for changes and for new files in the directory and
       +regenerates static files if this happens. If successful then refreshes the
       +current window/tab in Firefox.
       +
       +Dependencies: make, xdotool, entr.
       +
       +        #!/bin/sh
       +        if test x"$1" = x"rebuild"; then
       +                make && xdotool search --class firefox key F5
       +        else
       +                while :; do find pages | entr -d -p "$(readlink -f "$0")" rebuild; done
       +        fi
       +
       +
        Documentation
        -------------