Log on file updates
This commit is contained in:
parent
6e86cb34d2
commit
6ac519d9dc
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ func watchFS(ch chan struct{}, w *fsnotify.Watcher) {
|
||||||
case e := <-w.Events:
|
case e := <-w.Events:
|
||||||
if filter(e) {
|
if filter(e) {
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
|
fmt.Printf("Noticed change to %s, re-generating spec\n", e.Name)
|
||||||
ch <- struct{}{}
|
ch <- struct{}{}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue