hugo/testscripts/commands/server_disablelivereload.txt

20 lines
306 B
Plaintext

hugo server --disableLiveReload &
waitServer
! grep 'livereload' public/index.html
stopServer
! stderr .
-- hugo.toml --
baseURL = "http://example.org/"
disableKinds = ["RSS", "sitemap", "robotsTXT", "404", "taxonomy", "term"]
-- layouts/index.html --
<html>
<head>
</head>
<body>
Home.
</body>
</html>