github.com/anakojm/hugo-katex@v0.0.0-20231023141351-42d6f5de9c0b/testscripts/commands/hugo__watch.txt (about) 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 P1start