allow compilation on Go1
This commit is contained in:
parent
1336a0e4ab
commit
39e5784aed
2
watch.go
2
watch.go
|
@ -112,8 +112,8 @@ func (fw *PollingFileWatcher) BlockUntilExists() error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
time.Sleep(POLL_DURATION)
|
time.Sleep(POLL_DURATION)
|
||||||
println("blocking..")
|
|
||||||
}
|
}
|
||||||
|
panic("unreachable")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (fw *PollingFileWatcher) ChangeEvents(origFi os.FileInfo) chan bool {
|
func (fw *PollingFileWatcher) ChangeEvents(origFi os.FileInfo) chan bool {
|
||||||
|
|
Loading…
Reference in New Issue