File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -295,10 +295,26 @@ Participation is welcome! For a development installation (requires `Node.js <htt
295
295
python -m pytest
296
296
297
297
The above commands will setup your system for development with the Jupyter
298
- Notebook. To develop for Jupyter Lab, additionally run ::
298
+ Notebook. In one terminal, start Jupyter ::
299
299
300
- jupyter labextension install @jupyter-widgets/jupyterlab-manager
300
+ cd itkwidgets
301
+ jupyter notebook
302
+
303
+ In another terminal, put Webpack in watch mode to rebuild any Javascript
304
+ changes when you save a Javascript file::
305
+
306
+ cd itkwidgets
307
+ npm run watch
308
+
309
+ If Python code is changed, restart the kernel to see the changes. If
310
+ Javascript code is changed, reload the page after to Webpack has finished
311
+ building.
312
+
313
+ To develop for Jupyter Lab, additionally run::
314
+
315
+ jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-matplotlib jupyterlab-datawidgets jupyter-webrtc
301
316
jupyter labextension install ./js
317
+ jupyter lab --watch
302
318
303
319
.. note ::
304
320
You can’t perform that action at this time.
0 commit comments