This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-05
Channels
- # announcements (2)
- # babashka (19)
- # beginners (14)
- # biff (10)
- # calva (23)
- # clojure (49)
- # clojure-europe (15)
- # clojure-nl (3)
- # clojure-norway (25)
- # clojure-seattle (1)
- # clojure-uk (4)
- # clojurescript (7)
- # data-science (6)
- # datahike (3)
- # datomic (1)
- # emacs (13)
- # events (2)
- # fulcro (3)
- # graalvm (13)
- # hyperfiddle (32)
- # leiningen (4)
- # lsp (38)
- # malli (1)
- # missionary (34)
- # nbb (28)
- # off-topic (42)
- # other-languages (5)
- # portal (8)
- # practicalli (1)
- # re-frame (3)
- # releases (1)
- # ring (7)
- # shadow-cljs (13)
- # sql (3)
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.
👍 2
For the jvm, I do
(.addShutdownHook
(Runtime/getRuntime)
(Thread. (fn [] (portal.api/close))))
🚀 1
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