Skip to content

Commit 7a14aef

Browse files
committed
Continue watching, after hashConfig error
This way, subsequent changes to the watched file may be honored
1 parent 176c98b commit 7a14aef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/common-go/watch/file.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func File(ctx context.Context, path string, onChange func()) error {
8686
currentHash, err := hashConfig(path)
8787
if err != nil {
8888
log.WithError(err).WithField("event", event.Name).Warn("Cannot check if config has changed")
89-
return
89+
continue
9090
}
9191

9292
// no change

0 commit comments

Comments
 (0)