hugo/commands
Bjørn Erik Pedersen 6eca0a3dee
commands: Fix config reloading in Vim and similar
The config path was simplified in Hugo 0.56.0 to support more config dirs/files (go.mod etc.),
and the new code path assumed that every file change would trigger a `Write` event.

This is not true for Vim etc. which triggers a `Chmod` and then a `Rename`.

Lesson learned: Be really careful changing Os/editor specific code without proper tests.

Fixes #6139
2019-07-30 09:35:01 +02:00
..
check.go
check_darwin.go
commandeer.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
commands.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
commands_test.go
config.go
convert.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
deploy.go
env.go
gen.go
genautocomplete.go
genchromastyles.go
gendoc.go
gendocshelper.go
genman.go
helpers.go
hugo.go commands: Fix config reloading in Vim and similar 2019-07-30 09:35:01 +02:00
hugo_test.go
hugo_windows.go
import_jekyll.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
import_jekyll_test.go
limit_darwin.go
limit_others.go
list.go
list_test.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
mod.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
new.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
new_content_test.go
new_site.go
new_theme.go
release.go
release_noop.go
server.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
server_errors.go
server_test.go
static_syncer.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
version.go