This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-18
Channels
- # announcements (2)
- # aws (3)
- # beginners (35)
- # boot (10)
- # cider (33)
- # cljs-dev (22)
- # clojure (58)
- # clojure-belgium (1)
- # clojure-europe (8)
- # clojure-houston (1)
- # clojure-italy (47)
- # clojure-nl (2)
- # clojure-spec (4)
- # clojure-uk (39)
- # clojurescript (12)
- # cursive (18)
- # data-science (1)
- # datomic (2)
- # emacs (24)
- # figwheel-main (29)
- # fulcro (24)
- # hoplon (14)
- # juxt (6)
- # kaocha (3)
- # nrepl (6)
- # off-topic (64)
- # om (1)
- # om-next (1)
- # pathom (21)
- # pedestal (18)
- # planck (40)
- # protorepl (1)
- # re-frame (15)
- # reagent (7)
- # reitit (16)
- # shadow-cljs (184)
- # spacemacs (4)
- # test-check (33)
are extra mains compatible with using your own server? It would seem not to me. I'm using a custom asset path, which causes figwheel to be unable to server the js.
@dominicm extra mains will work with your own server, but you will need to create the landing page
Okay, makes sense. I had hoped to use figwheel as my auxiliary server for all dev tooling, but that seems less possible now.
I was going to put a bunch of random builds onto there, even some which were hard coded pages, just as a permanent server to host things.
Out of curiosity (and I think the answer is very) how hard would it be to bring figwheel's websocket server into my own server?
yeah. I even had some schemes involving it having a bookmarking "service" and similar.
of course with some abstraction, we could make it easier but you will be coding the websocket endpoint for certain
No particular reason 🙂 that's probably the better option really. If it was easy enough, then it's nice to have only 1 port open rather than 2.
One factor is that I might want this to work with figwheel-sidecar and/or shadow, so my current thinking was a third server, which wasn't something I preferred.
if ring had a websocket interface that was supported by the dominant webservers that would be fantastic
(I should probably note that this is all in the context of our application framework rather than a single project - hence things like shadow support)
Anyway, thanks 🙂 figwheel-main has been really great in Edge. I've moved a few of our projects over from figwheel-sidecar, and things are generally much smoother. We're just starting to experiment with devcards, auto-testing, etc.
I'm wanting to do an "auto-mains listing" which links you to the auto-testing, devcards, etc. when you do (go)
, so figuring out where that will live is important.
We were able to impress a client who buzzword tests using cljs-test-display. The tests were mostly useless, but the client loved the UI.
Hmm, hard to convey what I'm getting at there in a concise way. The client likes tests, but doesn't know when tests are useless and burdensome, so they just want to see lots of tests.