This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-08-03
Channels
- # aleph (8)
- # announcements (3)
- # architecture (47)
- # babashka (22)
- # beginners (22)
- # chlorine-clover (2)
- # cider (15)
- # clj-yaml (6)
- # cljs-dev (3)
- # clojure (76)
- # clojure-austin (2)
- # clojure-europe (16)
- # clojure-france (10)
- # clojure-gamedev (11)
- # clojure-norway (28)
- # clojure-sweden (4)
- # clojurescript (32)
- # conjure (1)
- # datahike (2)
- # datomic (6)
- # events (9)
- # graalvm (8)
- # gratitude (5)
- # honeysql (8)
- # humbleui (2)
- # hyperfiddle (37)
- # jobs (1)
- # polylith (4)
- # re-frame (14)
- # releases (2)
- # rum (9)
- # sci (9)
- # scittle (8)
- # shadow-cljs (9)
- # spacemacs (4)
- # sql (10)
- # xtdb (24)
i have two tabs open in chrome each pointing to the HTTP server started by shadow. How is repl state managed in this case? Should i expect in memory state to switch as i switch tabs?
not sure what you mean. both have their independent state, they are not linked unless you wrote something to do that yourself
the REPL is only connected to one, usually the one first connected. you can select which one to talk to, but its always one at a time.
How do you select between the two?
from the CLJ REPL (shadow.cljs.devtools.api/repl :the-build-id {:runtime-id 123})
where 123 is the id of the runtime
or http://localhost:9630/runtimes lists them too, but kinda hard to tell them apart if both are chrome
thanks. I didn't end up needed to do this to solve my issue, but it helps to know it's possible 🙂