hugo/commands
Bjørn Erik Pedersen 4679fbee41 Do not rebuild on extra Spotlight filesystem events
Write and rename operations are often followed by CHMOD.
There may be valid use cases for rebuilding the site on CHMOD,
but that will require more complex logic than this simple conditional.

On OS X this seems to be related to Spotlight, see:
https://github.com/go-fsnotify/fsnotify/issues/15

A workaround is to put your site(s) on the Spotlight exception list,
but that may be a little mysterious for most end users.

So, for now, we skip reload on CHMOD.

This small commit will be a 100% improvement for most OS X-users.

Fixes #1587
2015-11-18 22:59:32 +01:00
..
benchmark.go Improve formatting of Hugo command descriptions 2015-08-04 03:19:57 -06:00
check.go Improve formatting of Hugo command descriptions 2015-08-04 03:19:57 -06:00
convert.go Apply project wide go fmt 2015-10-12 20:47:06 +02:00
genautocomplete.go Print feedback for hugo genautocomplete 2015-08-09 17:59:44 +02:00
gendoc.go Print feedback for hugo gendoc 2015-08-09 17:58:01 +02:00
hugo.go Do not rebuild on extra Spotlight filesystem events 2015-11-18 22:59:32 +01:00
import.go Improve command text for import command 2015-10-05 11:25:42 +02:00
import_test.go Hugo import from jekyll 2015-10-04 20:02:53 +02:00
limit_darwin.go Adding support for logging & verbose logging. Consolidation of error handling. Integration of jWalterWeatherman library. Fixed #137 2014-03-31 13:23:34 -04:00
limit_others.go Fix build 2014-02-18 18:40:55 -05:00
list.go Apply project wide go fmt 2015-10-12 20:47:06 +02:00
list_config.go Improve formatting of Hugo command descriptions 2015-08-04 03:19:57 -06:00
new.go Show usage when new site creation fails 2015-10-17 14:08:45 +02:00
new_test.go Add force flag 2015-10-17 13:58:43 +02:00
server.go Hugo server renders and serves from memory by default (30%+ improvement) 2015-11-16 22:00:11 -05:00
server_test.go Stop Viper from leaking across many of the tests (now tests pass regardless of order tested) 2015-05-20 02:21:21 -04:00
undraft.go Fix trivial typos in code 2015-11-16 07:15:17 -07:00
undraft_test.go add undraft command 2015-05-08 22:18:51 -04:00
version.go Improve formatting of Hugo command descriptions 2015-08-04 03:19:57 -06:00