Setting up a dev environment for jupyterlab extension inside jupyterhub

17 views
Skip to first unread message

arash afshar

unread,
Mar 25, 2020, 1:51:24 PM3/25/20
to Project Jupyter
Hello,

I am developing a jupyterlab extension that uses hub functionalities. I am using https://github.com/jupyterhub/jupyterhub/blob/master/onbuild/Dockerfile to setup the lab and hub in a container locally.
When I change my extension and build it using `jlpm install` and `jupyter labextension install . --no-build`, I would be forced to rebuild the lab to see my changes which takes a long time.

What can I do to make my dev workflow faster? Is there a way to run jupyterlab in watch mode inside https://github.com/jupyterhub/jupyterhub/blob/master/onbuild/Dockerfile ?

Other docker-based solutions are welcomed as well, my end goal is to have a fast workflow to test jupyterlab extension inside the hub.

Thank you,
Arash
Reply all
Reply to author
Forward
0 new messages