21f2655280
Closes #105. The `go1.1` constraint has been updated to `!go1.3` per https://golang.org/pkg/go/build/#hdr-Build_Constraints and https://github.com/go-fsnotify/fsnotify. Also, the existing call signature for `WatchForUpdates()` in `watcher_unsupported.go` was stale.
13 lines
221 B
Go
13 lines
221 B
Go
// +build !go1.3 plan9 solaris
|
|
|
|
package main
|
|
|
|
import (
|
|
"log"
|
|
)
|
|
|
|
func WatchForUpdates(filename string, done <-chan bool, action func()) bool {
|
|
log.Printf("file watching not implemented on this platform")
|
|
return false
|
|
}
|