You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Link your development version of the extension with JupyterLab
63
-
jupyter labextension link .
60
+
jupyter labextension develop . --overwrite
61
+
62
+
# Rebuild extension Typescript source after making changes
63
+
jlpm run build
64
+
```
65
+
You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.
66
+
67
+
```bash
68
+
# Watch the source directory in one terminal, automatically rebuilding when needed
69
+
jlpm run watch
70
+
# Run JupyterLab in another terminal
71
+
jupyter lab
72
+
```
64
73
65
-
# Rebuild Typescript source after making changes
66
-
jlpm build
67
74
68
-
# Rebuild JupyterLab after making any changes
69
-
jupyter lab build
75
+
With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).
76
+
77
+
By default, the jlpm run build command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:
0 commit comments