Skip to content

Commit

Permalink
Correct jlpm watch command
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Thomas <[email protected]>
  • Loading branch information
ianthomas23 authored and martinRenou committed Mar 14, 2024
1 parent c56b4a7 commit dc50201
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@ jupyter labextension develop . --overwrite

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.

If you are changing TypeScript code you can watch for code changes and automatically rebuild using
```bash
jlpm watch
```
in one terminal and
```bash
jupyter lab
```
(or `jupyter notebook` or similar) in another.

## Contributions

We :heart: contributions.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"lint": "eslint 'js/**/*.{js,ts}' --quiet --fix",
"prepack": "jlpm run build:labextension && jlpm run build:nbextension",
"test": "jest --verbose",
"watch": "npm-run-all -p watch:*",
"watch": "npm-run-all -p watch:lib watch:labextension watch:nbextension",
"watch:lib": "tsc -w",
"watch:nbextension": "webpack --watch",
"watch:labextension": "jupyter labextension watch ."
Expand Down

0 comments on commit dc50201

Please sign in to comment.