Files
hugo/testscripts/server/server__watch_false.txt
T
Joe Mooring 59e0446fe5 hugolib: Fix server no watch
Closes #14615

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 16:28:37 +01:00

18 lines
334 B
Plaintext

# Test the hugo server command with watch disabled.
hugo server --watch=false &
waitServer
httpget $HUGOTEST_BASEURL_0 'HOME'
httpget $HUGOTEST_BASEURL_0 'HOME'
stopServer
! stderr .
-- hugo.toml --
baseURL = 'https://example.org/'
disableKinds = ['page','rss','section','sitemap','taxonomy','term']
-- layouts/home.html --
HOME