Skip to content

Commit

Permalink
Fix watcher mode
Browse files Browse the repository at this point in the history
  • Loading branch information
joanlopez committed Nov 18, 2023
1 parent 9ce142d commit 3ef1ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func runWatcher(cfg killgrave.Config, currentSrv *server.Server) (*watcher.Watch
if err := currentSrv.Shutdown(); err != nil {
log.Fatal(err)
}
runServer(cfg)
*currentSrv = runServer(cfg)
})
return w, nil
}
Expand Down

0 comments on commit 3ef1ebe

Please sign in to comment.