Skip to content

Commit

Permalink
Fix watcher mode (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
joanlopez authored Nov 21, 2023
1 parent dc2c36e commit 8ff948c
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 8ff948c

Please sign in to comment.