File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,6 @@ This means that keeping the site open on a second monitor (or another
45
45
half of your current monitor) allows you to see exactly what your
46
46
content looks like without even leaving your text editor.
47
47
48
- It's worth noting that "--watch" is enabled by default when "hugo server"
49
- is run.
50
-
51
48
## Disabling LiveReload
52
49
53
50
LiveReload works by injecting JavaScript into the pages it
@@ -60,3 +57,9 @@ LiveReload functionality.
60
57
61
58
$ hugo server --watch --disableLiveReload
62
59
60
+ ## Notes
61
+
62
+ The ` --watch ` flag is enabled by default when ` hugo server ` is run.
63
+
64
+ You must have a closing ` </body> ` tag for LiveReload to work.
65
+ Hugo injects the LiveReload ` <script> ` before this tag.
You can’t perform that action at this time.
0 commit comments