Skip to content

Commit

Permalink
load config once
Browse files Browse the repository at this point in the history
  • Loading branch information
evanzhang87 committed May 1, 2024
1 parent 919769b commit e48d396
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/config/reloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func (r *Reloader) WatchPath(path string) error {
if err != nil {
return err
}
_ = LoadConfig(r.configInstance, path)
go func() {
for event := range r.watcher.Events {
for _, op := range r.opList {
Expand Down

0 comments on commit e48d396

Please sign in to comment.