mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
Merge commit '8b9803425e63e1b1801f8d5d676e96368d706722'
This commit is contained in:
@@ -54,3 +54,19 @@ If you do not specify a logging level with the `--logLevel` flag, warnings and e
|
||||
You can also use template functions to print warnings or errors to the console. These functions are typically used to report data validation errors, missing files, etc.
|
||||
|
||||
{{< list-pages-in-section path=/functions/fmt filter=functions_fmt_logging filterType=include >}}
|
||||
|
||||
## LiveReload
|
||||
|
||||
To log Hugo's LiveReload requests in your browser, add this query string to the URL when running Hugo's development server:
|
||||
|
||||
```text
|
||||
debug=LR-verbose
|
||||
```
|
||||
|
||||
For example:
|
||||
|
||||
```text
|
||||
http://localhost:1313/?debug=LR-verbose
|
||||
```
|
||||
|
||||
Then monitor the reload requests in your browser's dev tools console. Make sure the dev tools "preserve log" option is enabled.
|
||||
|
Reference in New Issue
Block a user