diff options
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" |