This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-18
Channels
- # announcements (18)
- # babashka (34)
- # beginners (47)
- # biff (1)
- # calva (99)
- # cider (1)
- # clojure (99)
- # clojure-austin (13)
- # clojure-australia (1)
- # clojure-dev (53)
- # clojure-europe (30)
- # clojure-nl (1)
- # clojure-norway (7)
- # clojure-spec (7)
- # clojure-uk (1)
- # clojurescript (50)
- # cursive (11)
- # datahike (20)
- # datomic (10)
- # fulcro (7)
- # graalvm (8)
- # gratitude (1)
- # introduce-yourself (7)
- # jackdaw (1)
- # joyride (1)
- # lambdaisland (7)
- # lsp (2)
- # malli (7)
- # nbb (1)
- # off-topic (1)
- # portal (24)
- # re-frame (8)
- # reagent (13)
- # reitit (7)
- # releases (2)
- # remote-jobs (8)
- # rewrite-clj (3)
- # sci (1)
- # scittle (21)
- # shadow-cljs (2)
- # testing (3)
- # tools-deps (22)
- # web-security (19)
@borkdude - on scittle.nrepl
there's some code that checks to see if SCITTLE_NREPL_WEBSOCKET_PORT
is set and if so it sets the ws_nrepl
variable.
https://github.com/babashka/scittle/blob/12e5a33964e0dd8feba8537c62867abb3aa5e81a/src/scittle/nrepl.cljs#L34
shouldn't
(new js/WebSocket "")
be
(new js/WebSocket (str ":" (.-SCITTLE_NREPL_WEBSOCKET_PORT js/window) "/_nrepl")
That port var isn't getting used anywhere else
I'm not running it, just browsing through and it seemed wrong
I've confirmed that it is broken and I've fixed it. However, I have a question. For the example to be fixed, a dist needs to be pushed with potentially a version bump. So this is going to have to happen in two stages. First a PR to merge the changes and generate a dist. Then once that dist is pushed to CDN, change the example to reflect the correct version. Is that fine?
I've raised a PR. https://github.com/babashka/scittle/pull/45
Kindly approve.
I've made the relevant changes. Used a when-let
and tested it in prod and dev mode.
I've removed the deref as well.
Is there an unreleased section or do I just tack it on in the top?
Added
Thanks @borkdude