Files
hugo/testscripts/server/server__watch_hugo_stats.txt
2026-01-27 18:27:47 +01:00

19 lines
353 B
Plaintext

hugo server --renderToMemory &
waitServer
stopServer
! stderr .
exists hugo_stats.json
-- hugo.toml --
title = "Hugo Server Test"
baseURL = "https://example.org/"
disableKinds = ["taxonomy", "term", "sitemap"]
[module]
[[module.mounts]]
source = "hugo_stats.json"
target = "assets/watching/hugo_stats.json"
-- layouts/home.html --
<body>Home</body>