mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
hugolib: Fix server no watch
Closes #14615 Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
36cdb2c789
commit
59e0446fe5
@@ -0,0 +1,17 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user