hugo/commands
Pedro Melo 3e1b579c17 Be less aggressive with CHMOD filesystem events
On 4679fbee41, rebuild was disabled on
CHMOD filesystem events, but the code is overly aggressive.

In some situations, specially with older Mac's (using a Late 2008
Macbook), the events we receive might be aggregated. On my
particular laptop, I get this events:

    INFO: 2016/07/26 18:08:51 hugo.go:737: Received System Events: ["<path>": WRITE|CHMOD]

These events are ignored because the code only checks for Chmod. This
commit fixes this by checking that the event is also not a Write or Create.

Related to #1587.
2016-07-26 22:18:15 +02:00
..
benchmark.go
check.go
convert.go
gen.go
genautocomplete.go Fix example for autocomplete 2016-06-22 13:59:53 +02:00
gendoc.go
genman.go
hugo.go Be less aggressive with CHMOD filesystem events 2016-07-26 22:18:15 +02:00
hugo_windows.go
import_jekyll.go
import_jekyll_test.go
limit_darwin.go
limit_others.go
list.go
list_config.go Make config flag global 2016-07-07 18:06:48 +02:00
new.go
new_test.go
server.go commands: Allow schema-less baseURL on command line 2016-06-29 23:08:55 -06:00
server_test.go commands: Allow schema-less baseURL on command line 2016-06-29 23:08:55 -06:00
undraft.go
undraft_test.go
version.go