hugo/commands
Bjørn Erik Pedersen 35fbfb19a1
commands: Show server error info in browser
The main item in this commit is showing of errors with a file context when running `hugo server`.

This can be turned off: `hugo server --disableBrowserError` (can also be set in `config.toml`).

But to get there, the error handling in Hugo needed a revision. There are some items left TODO for commits soon to follow, most notable errors in content and config files.

Fixes #5284
Fixes #5290
See #5325
See #5324
2018-10-16 22:10:56 +02:00
..
benchmark.go
check.go
check_darwin.go
commandeer.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
commands.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
commands_test.go commands: Remove deprecated flags 2018-09-21 14:27:35 +02:00
config.go
convert.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
env.go
gen.go
genautocomplete.go
genchromastyles.go
gendoc.go
gendocshelper.go
genman.go
helpers.go
helpers_others.go
helpers_windows.go
hugo.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
hugo_windows.go
import_jekyll.go
import_jekyll_test.go
limit_darwin.go
limit_others.go
list.go
new.go commands: Add help text to "hugo new" 2018-10-15 17:48:19 +02:00
new_content_test.go Add directory based archetypes 2018-09-23 19:27:23 +02:00
new_site.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
new_theme.go
release.go
release_noop.go
server.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
server_errors.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
server_test.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
static_syncer.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
version.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00