hugo/testscripts/commands/server_disablelivereload__config.txt
2023-07-19 19:50:37 +02:00

21 lines
No EOL
326 B
Text

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