diff --git a/internal/devserver/server.go b/internal/devserver/server.go index 069612b1f358..b544618279fc 100644 --- a/internal/devserver/server.go +++ b/internal/devserver/server.go @@ -80,6 +80,7 @@ func StartAgent(c Config) { if !c.Enabled { return } + once.Do(func() { s := NewServer(c) s.StartAsync(c)