diff --git a/src/main/routes/watch-route.ts b/src/main/routes/watch-route.ts index 658b1588b9..2c86314908 100644 --- a/src/main/routes/watch-route.ts +++ b/src/main/routes/watch-route.ts @@ -129,6 +129,7 @@ class WatchRoute extends LensApi { apis.forEach(apiUrl => { const watcher = new ApiWatcher(apiUrl, cluster.getProxyKubeconfig(), response); + watchers.set(apiUrl, watcher); requests(async () => {