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 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 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 Make Page an interface 2019-03-23 18:51:22 +01:00
config.go Add support for theme composition and inheritance 2018-06-10 23:55:20 +02:00
convert.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
deploy.go deploy: Default --target to the first deployment target 2019-06-08 00:41:59 +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 Add tpl/site and tpl/hugo 2018-12-06 14:37:25 +01:00
helpers.go commands: Only show Ansi escape codes if in a terminal 2018-10-26 14:33:44 +02:00
hugo.go commands: Fix config reloading in Vim and similar 2019-07-30 09:35:01 +02:00
hugo_test.go commands: Add test for --configDir 2019-02-01 08:40:53 +01:00
hugo_windows.go Update hugo_windows.go 2018-07-22 00:09:46 +02:00
import_jekyll.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
import_jekyll_test.go importer: fix jekyll import highlight options 2018-12-12 19:12:12 +01:00
limit_darwin.go Adjust rlimit logic 2019-04-07 00:53:55 +02:00
limit_others.go commands: Make the limit command work again 2018-04-11 09:50:19 +02:00
list.go commands: Create new 'hugo list all' command 2019-05-25 00:09:51 +02:00
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 Make Page an interface 2019-03-23 18:51:22 +01:00
new_site.go commands: Remove comma after URL in new site output 2019-06-19 23:03:30 +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 Add Hugo Modules 2019-07-24 09:35:53 +02:00
server_errors.go commands: Fix recently broken error template 2018-11-03 16:55:45 +01:00
server_test.go commands: Add test for --configDir 2019-02-01 08:40:53 +01:00
static_syncer.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
version.go Add tpl/site and tpl/hugo 2018-12-06 14:37:25 +01:00