AISpace2 icon indicating copy to clipboard operation
AISpace2 copied to clipboard

Watcher test

Open ZijiaZhang opened this issue 6 years ago • 5 comments

I have implemented another watcher for Jupyter Lab. After running commands npm run lab-watch it will launch the Jupyter Lab in watch mode (it might take a while) and auto recompile the frontend code and the lab extension will be updated. You will need to refresh the page.

(You might need to install new dependencies)

New dependencies added: { watch, concurrently}

ZijiaZhang avatar Jun 29 '19 03:06 ZijiaZhang

can you delete the function that watch will launch the JupyterLab since people may want to laugh it in a different way. Just like the old watch, it just watches the js folder, it does not launch a Jupyter Notebook

Chenliang-Zhou avatar Jun 29 '19 22:06 Chenliang-Zhou

You can run npm run watch that will only watch and compile but not launch the lab.

But in this way, you will need to run jupyter lab install to update the extension.

ZijiaZhang avatar Jun 29 '19 22:06 ZijiaZhang

Is there a way to implement a watcher just like the old notebook watcher? Just one command is enough.

Chenliang-Zhou avatar Jun 29 '19 22:06 Chenliang-Zhou

I don't think it is possible. We need to have lab running on watch mode.

ZijiaZhang avatar Jun 30 '19 02:06 ZijiaZhang

OK. Let’s hang it up for now. We can get back to this after we’ve fixed the core installation bugs..

Chenliang-Zhou avatar Jun 30 '19 02:06 Chenliang-Zhou