hugo__watch.txt - hugo - [fork] hugo port for 9front
 (HTM) git clone https://git.drkhsh.at/hugo.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
       hugo__watch.txt (556B)
       ---
            1 # Test the hugo command.
            2 
            3 # See https://github.com/rogpeppe/go-internal/issues/228
            4 [windows] skip
            5 
            6 hugo -w &
            7 
            8 sleep 3
            9 grep 'P1start' public/p1/index.html
           10 
           11 replace content/p1.md 'P1start' 'P1end'
           12 sleep 2
           13 grep 'P1end' public/p1/index.html
           14 ! grep 'livereload' public/p1/index.html
           15 
           16 stop
           17 
           18 -- hugo.toml --
           19 baseURL = "http://example.org/"
           20 disableKinds = ["RSS", "sitemap", "robotsTXT", "404", "taxonomy", "term"]
           21 -- layouts/index.html --
           22 Home.
           23 -- layouts/_default/single.html --
           24 Title: {{ .Title }}| {{ .Content }}
           25 -- content/p1.md --
           26 ---
           27 title: "P1"
           28 ---
           29