mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 01:20:50 +00:00
30885a6c5f
Fixes #11313
19 lines
421 B
Text
19 lines
421 B
Text
hugo server --disableLiveReload &
|
|
|
|
waitServer
|
|
stopServer
|
|
wait
|
|
! stderr .
|
|
stdout 'Watching for config changes in.*mytheme'
|
|
|
|
|
|
-- hugo.toml --
|
|
title = "Hugo Server Test"
|
|
baseURL = "https://example.org/"
|
|
disableKinds = ["section", "page", "taxonomy", "term", "RSS", "sitemap", "robotsTXT", "404"]
|
|
theme = "mytheme"
|
|
-- layouts/index.html --
|
|
foo: {{ .Site.Params.foo }}
|
|
-- themes/mytheme/hugo.toml --
|
|
[params]
|
|
foo = "bar"
|