Debian Codegraph @

testscripts/server/server__watch_moduleconfig.txt

raw
1 hugo server --renderToMemory --disableLiveReload &
2
3 waitServer
4 stopServer
5 wait
6 ! stderr .
7 stdout 'Watching for config changes in.*mytheme'
8
9
10 -- hugo.toml --
11 title = "Hugo Server Test"
12 baseURL = "https://example.org/"
13 disableKinds = ["section", "page", "taxonomy", "term", "RSS", "sitemap", "robotsTXT", "404"]
14 theme = "mytheme"
15 -- layouts/home.html --
16 foo: {{ .Site.Params.foo }}
17 -- themes/mytheme/hugo.toml --
18 [params]
19 foo = "bar"