aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index c938916..3cb6f57 100644
--- a/main.go
+++ b/main.go
@@ -93,7 +93,7 @@ func watchSite() {
for {
select {
case event := <-watcher.Events:
- if event.Op&fsnotify.Write == fsnotify.Write {
+ if event.Op&fsnotify.Write != fsnotify.Chmod {
fmt.Printf("rebuilding... ")
buildSite()
fmt.Printf("done\n")