diff options
author | Bjørn Erik Pedersen <[email protected]> | 2023-07-31 19:18:36 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-08-01 09:05:53 +0200 |
commit | 30885a6c5f4083167ae81034bf6a656c07b5fc59 (patch) | |
tree | e51fdd570d9f87cab66e0cb42307da997d1e9a94 /testscripts | |
parent | 58da8554cb8e5a996f0a1429f23d4e9a59d61b77 (diff) | |
download | hugo-30885a6c5f4083167ae81034bf6a656c07b5fc59.tar.gz hugo-30885a6c5f4083167ae81034bf6a656c07b5fc59.zip |
Fix module config watch regression
Fixes #11313
Diffstat (limited to 'testscripts')
-rw-r--r-- | testscripts/commands/server__watch_moduleconfig.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testscripts/commands/server__watch_moduleconfig.txt b/testscripts/commands/server__watch_moduleconfig.txt new file mode 100644 index 000000000..867669754 --- /dev/null +++ b/testscripts/commands/server__watch_moduleconfig.txt @@ -0,0 +1,19 @@ +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" |