Skip to content

Commit 96a818d

Browse files
committed
fine tune
1 parent 1ef9c41 commit 96a818d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/assetfs/layered.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,10 @@ func (l *LayeredFS) WatchLocalChanges(ctx context.Context, callback func()) {
238238
if !ok {
239239
return
240240
}
241-
log.Debug("Watched asset local file-system had event: %v", event)
241+
log.Trace("Watched asset local file-system had event: %v", event)
242242
debounce(callback)
243243
case err, ok := <-watcher.Errors:
244244
if !ok {
245-
_ = watcher.Close()
246245
return
247246
}
248247
log.Error("Watched asset local file-system had error: %v", err)

0 commit comments

Comments
 (0)