Hi Guys,
I’m trying to build a basic extension for Jupyterlab in Javascript.
Having a hard time to cut down on rebuilding time while in watch mode.
jupyter lab --dev-mode --watch
It does not work as expected. After each source file changes, it takes about a minute to pick
up the change but sometimes it does not respond to changes at all.
I also run watch command in parallel, but it does not help either
package.json script: "watch": "tsc -w --listEmittedFiles"
I’m developing my custom theme for jupyterlab but rebuilding jupyterlab after changes takes too much time. Does someone have good instruction for developing extensions in watch mode?
jlpm
jlpm build
jlpm install:extension
jlpm watch
# and then in another terminal
jupyter lab
…to go from “check out a PR” to “reload-to-see-changes for your extension”.
Rebuilding all of Lab is generally not worth it, unless your users really, really demand that you must distribute for JupyterLab 2 and/or a totally custom lab package.