mirror of
https://github.com/facundoolano/jorge.git
synced 2024-12-25 21:58:28 +01:00
fix chmod condition
This commit is contained in:
parent
01d690b31d
commit
11d5e0f2d3
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ func setupWatcher() (*fsnotify.Watcher, error) {
|
|||
}
|
||||
|
||||
// chmod events are noisy, ignore them
|
||||
if event.Has(fsnotify.Chmod) {
|
||||
if !event.Has(fsnotify.Chmod) {
|
||||
fmt.Printf("\nFile %s changed, triggering rebuild.\n", event.Name)
|
||||
|
||||
// since new nested directories could be triggering this change, and we need to watch those too
|
||||
|
|
Loading…
Reference in a new issue