From 50dc7bb79af62b819648c67c5ccd33b3470e626c Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 10 Mar 2018 21:41:36 -0500 Subject: Add Haunt manual. --- manuals/haunt/Invoking-haunt-serve.html | 107 ++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 manuals/haunt/Invoking-haunt-serve.html (limited to 'manuals/haunt/Invoking-haunt-serve.html') diff --git a/manuals/haunt/Invoking-haunt-serve.html b/manuals/haunt/Invoking-haunt-serve.html new file mode 100644 index 0000000..62955f8 --- /dev/null +++ b/manuals/haunt/Invoking-haunt-serve.html @@ -0,0 +1,107 @@ + + + + + + +Invoking haunt serve (Haunt Reference Manual) + + + + + + + + + + + + + + + + + + + +
+

+Previous: , Up: Command-line Interface   [Contents][Index]

+
+
+ +

4.2 Invoking haunt serve

+ +

The haunt serve command allows one to quickly view a local +preview of the generated website before publishing the finished +product to a remote web server. When haunt serve runs, a +local HTTP server is spawned. Visit the server using a web browser to +inspect the results of the build. By default, the web server listens +on port 8080, so the URL to visit would be +http://localhost:8080. +

+

While developing, it is common to rebuild the site frequently to view +the results of incremental changes. Rather than manually running +haunt build (Invoking haunt build) each time changes +are made, the --watch flag can be used to automatically rebuild +the site when a source file changes on disk. +

+
+
--config=configuration-file
+
-c configuration-file
+

Load the Haunt site declaration from configuration-file. +

+
+
--port=port
+
-p port
+
+

Listen for HTTP requests on port. +

+
+
--watch
+
-w
+
+

Automatically rebuild the site when source files change. +

+
+
+ + + + + + -- cgit v1.2.3