Skip to content

Commit dc50201

Browse files
ianthomas23martinRenou
authored andcommitted
Correct jlpm watch command
Signed-off-by: Ian Thomas <[email protected]>
1 parent c56b4a7 commit dc50201

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,16 @@ jupyter labextension develop . --overwrite
9090

9191
Note for developers: the `--symlink` argument on Linux or OS X allows one to modify the JavaScript code in-place. This feature is not available with Windows.
9292

93+
If you are changing TypeScript code you can watch for code changes and automatically rebuild using
94+
```bash
95+
jlpm watch
96+
```
97+
in one terminal and
98+
```bash
99+
jupyter lab
100+
```
101+
(or `jupyter notebook` or similar) in another.
102+
93103
## Contributions
94104

95105
We :heart: contributions.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"lint": "eslint 'js/**/*.{js,ts}' --quiet --fix",
4949
"prepack": "jlpm run build:labextension && jlpm run build:nbextension",
5050
"test": "jest --verbose",
51-
"watch": "npm-run-all -p watch:*",
51+
"watch": "npm-run-all -p watch:lib watch:labextension watch:nbextension",
5252
"watch:lib": "tsc -w",
5353
"watch:nbextension": "webpack --watch",
5454
"watch:labextension": "jupyter labextension watch ."

0 commit comments

Comments
 (0)