hello 🙂 Is there a way to close the portal window when the connection is lost? I sometimes restart the hosting process quite often, resulting in lots of portal windows... 😄
I close the browser tab, Ctrl-w if I forget to call portal close before closing the repl.
For the jvm, I do
(.addShutdownHook
(Runtime/getRuntime)
(Thread. (fn [] (portal.api/close))))ah that's a good idea, I think I should be able to do something like that in node
Is portal and nbb a supported combination? I'm getting errors when requiring portal.api due to clojure.datafy missing
I think the main thing I got working for nbb was the remote client
I think getting all the portal runtime code working wouldn't be too much work, just haven't looked into it yet.
The main issues are adding some of the missing pieces Portal expects to find in a Clojure dialect or removing those features as hard dependencies.