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 Add support for theme composition and inheritance 2018-06-10 23:55:20 +02:00
check.go commands: Make the limit command work again 2018-04-11 09:50:19 +02:00
check_darwin.go commands: Make the limit command work again 2018-04-11 09:50:19 +02:00
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 Add support for theme composition and inheritance 2018-06-10 23:55:20 +02:00
convert.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
env.go commands: Make the hugo command non-global 2018-04-11 09:50:19 +02:00
gen.go commands: Make the hugo command non-global 2018-04-11 09:50:19 +02:00
genautocomplete.go commands: Make the hugo command non-global 2018-04-11 09:50:19 +02:00
genchromastyles.go commands: Make the hugo command non-global 2018-04-11 09:50:19 +02:00
gendoc.go commands: Add basic server test 2018-04-11 09:51:07 +02:00
gendocshelper.go commands: Make the hugo command non-global 2018-04-11 09:50:19 +02:00
genman.go commands: Make the hugo command non-global 2018-04-11 09:50:19 +02:00
helpers.go commands: Avoid ANSI character output on Windows 2018-05-22 17:15:19 +02:00
helpers_others.go commands: Avoid ANSI character output on Windows 2018-05-22 17:15:19 +02:00
helpers_windows.go commands: Avoid ANSI character output on Windows 2018-05-22 17:15:19 +02:00
hugo.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
hugo_windows.go Update hugo_windows.go 2018-07-22 00:09:46 +02:00
import_jekyll.go commands: Fix golint issues 2018-09-07 08:25:51 +02:00
import_jekyll_test.go Only set 'url' if permalink in metadata and remove duplicate confirm msg 2018-01-28 11:24:31 +01:00
limit_darwin.go commands: Move the commands related logic to its own file 2018-04-11 09:50:19 +02:00
limit_others.go commands: Make the limit command work again 2018-04-11 09:50:19 +02:00
list.go Add support for theme composition and inheritance 2018-06-10 23:55:20 +02:00
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 Create missing head.html partial on new theme generation 2018-06-25 12:06:45 -06:00
release.go commands: Re-add the missing releaser command 2018-04-16 08:23:32 +02:00
release_noop.go commands: Re-add the missing releaser command 2018-04-16 08:23:32 +02:00
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