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 Change hugo to Hugo in help text 2016-06-09 16:03:25 +02:00
check.go Clean flags 2016-02-05 21:18:45 +01:00
convert.go parser: Spring code cleaning 2016-03-23 14:51:16 +01:00
gen.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
genautocomplete.go Fix example for autocomplete 2016-06-22 13:59:53 +02:00
gendoc.go Add readFile template func 2016-03-31 21:24:18 +02:00
genman.go Add readFile template func 2016-03-31 21:24:18 +02:00
hugo.go Be less aggressive with CHMOD filesystem events 2016-07-26 22:18:15 +02:00
hugo_windows.go Move cobra.MousetrapHelpText to hugo_windows.go 2015-12-16 21:26:47 -07:00
import_jekyll.go Add readFile template func 2016-03-31 21:24:18 +02:00
import_jekyll_test.go Fix copyright headers in source files 2015-12-07 19:57:01 +01:00
limit_darwin.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
limit_others.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
list.go commands: Add listExpiredCmd for expired pages 2016-06-14 15:45:26 +02:00
list_config.go Make config flag global 2016-07-07 18:06:48 +02:00
new.go commands: Add helpful instuctions after "hugo new site" 2016-04-08 18:03:49 +02:00
new_test.go Add readFile template func 2016-03-31 21:24:18 +02:00
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 commands: Apply Golint rules 2016-03-24 23:34:12 +01:00
undraft_test.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
version.go commands: Remove unused code 2016-03-14 15:24:42 +01:00