Skip to content

Commit 1c582de

Browse files
ianhimartinRenou
authored andcommitted
Update readme for typescript
1 parent 522f5e8 commit 1c582de

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ notebook / lab frontend. For lab, this is done by the command:
9999

100100
```bash
101101
jupyter labextension develop --overwrite .
102-
npm run build
102+
yarn run build
103103
```
104104

105105
For classic notebook, you need to run:
@@ -110,13 +110,15 @@ jupyter nbextension enable --py --sys-prefix ipympl
110110

111111
#### How to see your changes
112112

113-
**Javascript**:
113+
**Typescript**:
114114

115-
You need to rebuild the JS when you make a code change:
115+
If you use JupyterLab to develop then 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 widget.
116116

117117
```bash
118-
cd js
118+
# Watch the source directory in one terminal, automatically rebuilding when needed
119119
yarn run watch
120+
# Run JupyterLab in another terminal
121+
jupyter lab
120122
```
121123

122124
After a change wait for the build to finish and then refresh your browser and the changes should take effect.

0 commit comments

Comments
 (0)