We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b2469e commit b8442b1Copy full SHA for b8442b1
1 file changed
src/menu/tray.js
@@ -84,10 +84,6 @@ export class Tray extends EventEmitter {
84
if (!kubeconfigPath) {
85
throw new Error('No kubeconfig path found');
86
}
87
- // Add a delay before starting the file system watcher to avoid hitting a lock on the file
88
- // that is taking a while to be cleared.
89
- // setTimeout(() => {
90
- // Maybe the file exists now...
91
this.buildFromConfig(kubeconfigPath);
92
const watcher = fs.watch(kubeconfigPath);
93
@@ -101,7 +97,6 @@ export class Tray extends EventEmitter {
101
97
102
98
103
99
});
104
- // }, 1000);
105
100
106
this.on('k8s-check-state', this.k8sStateChanged.bind(this));
107
this.on('settings-update', this.settingsChanged.bind(this));
0 commit comments