yunabe/tslab

Launching node with params

Opened this issue · 1 comments

Hi there! In order to make things work in our project, we're launching node with node -r esm, which uses https://www.npmjs.com/package/esm . Is there any way to make this work with tslab?

Loving the project btw!

To pass -r esm to Node, we need to change the command registered to Jupyter.

The command to run Node.js is registered to Jupyter environment at

"argv": argv,

This Python is invoked from
const args = [path.join(path.dirname(__dirname), "python", "install.py")];