Indium icon indicating copy to clipboard operation
Indium copied to clipboard

Question: org-mode ob-js.el sessions

Open stormwatch opened this issue 4 years ago • 1 comments

Hello.

https://code.orgmode.org/bzg/org-mode/src/master/lisp/ob-js.el#L47 refers to indium-run-node which no longer exists.

Do you think it would be possible to replace it with indium-launch-nodejs?

What configuration should I provide in my .indium.json file?

Thank you

stormwatch avatar Dec 18 '19 18:12 stormwatch

Hi!

It would definitely be doable, but since Indium's connection to a NodeJS process has changed completely, I think there would be changes needed both in Indium and ob-js:

  • Indium should be able to evaluate JavaScript in a Node runtime without an indium.json file
  • NodeJS process would have to be started on the fly by Indium.

NicolasPetton avatar Jan 16 '20 12:01 NicolasPetton