File: server__watch_false.txt

package info (click to toggle)
hugo 0.158.0-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 38,848 kB
  • sloc: javascript: 31,888; ansic: 2,350; xml: 350; makefile: 195; sh: 110
file content (17 lines) | stat: -rw-r--r-- 334 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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