Hot reloading of extension

Is there hot reloading option when developing/modifiying extension?

The current switches that would get the closes to that:

jupyter labextension watch
# in another terminal
jupyter lab --autoreload

This will rebuild a JS-extension-under-developmenr and restart the running jupyter_server.

Updating “hot”, in-memory objects is less smooth:

For server extensions, it’s possible to start a jupyter_server inside the same event loop as a running ipykernel, which allows for full inspectability/modifiability of the second running server, using techniques similar to

For browser-based extensions, the closest thing is:

2 Likes