Log on file updates

pull/977/head
Daniel Wagner-Hall 9 years ago
parent 6e86cb34d2
commit 6ac519d9dc

@ -68,6 +68,7 @@ func watchFS(ch chan struct{}, w *fsnotify.Watcher) {
case e := <-w.Events:
if filter(e) {
wg.Add(1)
fmt.Printf("Noticed change to %s, re-generating spec\n", e.Name)
ch <- struct{}{}
}
}

Loading…
Cancel
Save