lensapp / lens

Lens - The way the world runs Kubernetes
https://k8slens.dev/
MIT License
22.53k stars 1.47k forks source link

Lens must be restarted in order to load an extension for the first time #1199

Closed stefcameron closed 3 years ago

stefcameron commented 4 years ago

The your first extension docs, as well as the README in the hello world extension, suggest that merely reloading the Lens window is enough to see the extension loaded.

But that's not the case with 4.0 alpha 2: Lens only seems to look at the ~/.k8slens/extensions dir on start-up, and never again.

So when loading an extension for the first time, Lens must currently be restarted (quit the app, start it up again).

Once this is done, and the extension is updated, then it's only necessary to reload the Lens window (i.e. with CMD+R).

If it's a bug that Lens doesn't look for new extensions on window reload, then please fix that. Otherwise, please update the docs accordingly...

Nachasic commented 3 years ago

Thank you for submitting this issue! It looks like this was fixed in #1230