testscripts/server/server__watch_hugo_stats.txt
raw| 1 | hugo server --renderToMemory & |
| 2 | |
| 3 | waitServer |
| 4 | stopServer |
| 5 | ! stderr . |
| 6 | |
| 7 | exists hugo_stats.json |
| 8 | |
| 9 | -- hugo.toml -- |
| 10 | title = "Hugo Server Test" |
| 11 | baseURL = "https://example.org/" |
| 12 | disableKinds = ["taxonomy", "term", "sitemap"] |
| 13 | [module] |
| 14 | [[module.mounts]] |
| 15 | source = "hugo_stats.json" |
| 16 | target = "assets/watching/hugo_stats.json" |
| 17 | -- layouts/home.html -- |
| 18 | <body>Home</body> |