We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d688c5d commit 2eb2b90Copy full SHA for 2eb2b90
1 file changed
src/go/config/file.go
@@ -188,7 +188,7 @@ func (c *ConfigFileImpl) startFileWatcher() {
188
return
189
}
190
log.Debug().Msgf("Config file watcher event: %+v", event)
191
- if event.Has(fsnotify.Write) || event.Has(fsnotify.Chmod) {
+ if event.Has(fsnotify.Create) || event.Has(fsnotify.Write) || event.Has(fsnotify.Chmod) {
192
log.Info().Str("event", event.Name).Msgf("modified config file")
193
_, err := c.loadConfig()
194
if err != nil {
0 commit comments