Skip to content

Commit c6b1f94

Browse files
committed
update
1 parent 0aafd83 commit c6b1f94

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

monitor.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ func (m *MonitorEvent) AddDir(dir string) error {
137137
}
138138

139139
func (m *MonitorEvent) AddFile(file string) error {
140+
if m.Debug {
141+
log.Println(`[Monitor]`, `Add Watch:`, file)
142+
}
140143
return m.Watcher().Add(file)
141144
}
142145

0 commit comments

Comments
 (0)