Skip to content

Commit 7f5a9a7

Browse files
committed
update dev instructions for jlab3
1 parent 444b772 commit 7f5a9a7

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/source/installation.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,15 @@ For a development installation (requires npm):
4949
jupyter nbextension enable --py --sys-prefix ipycanvas
5050
5151
# If you are developing on JupyterLab
52-
jupyter labextension install @jupyter-widgets/jupyterlab-manager .
52+
jupyter labextension develop . --overwrite
53+
jlpm run build
54+
55+
If you use JupyterLab to develop then you can watch the source directory and run JupyterLab at the same time in different
56+
terminals to watch for changes in the extension's source and automatically rebuild the extension.
57+
58+
.. code:: bash
59+
60+
# Watch the source directory in one terminal, automatically rebuilding when needed
61+
jlpm run watch
62+
# Run JupyterLab in another terminal
63+
jupyter lab

0 commit comments

Comments
 (0)