aboutsummaryrefslogtreecommitdiffhomepage
path: root/testscripts/commands/server_disablelivereload.txt
diff options
context:
space:
mode:
Diffstat (limited to 'testscripts/commands/server_disablelivereload.txt')
-rw-r--r--testscripts/commands/server_disablelivereload.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/testscripts/commands/server_disablelivereload.txt b/testscripts/commands/server_disablelivereload.txt
new file mode 100644
index 000000000..6b1cd66cb
--- /dev/null
+++ b/testscripts/commands/server_disablelivereload.txt
@@ -0,0 +1,20 @@
+hugo server --renderToDisk --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> \ No newline at end of file