This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-09
Channels
- # adventofcode (132)
- # announcements (19)
- # babashka (7)
- # babashka-sci-dev (6)
- # beginners (46)
- # calva (25)
- # chlorine-clover (5)
- # cider (2)
- # clara (17)
- # clj-kondo (93)
- # clojure (2)
- # clojure-dev (4)
- # clojure-europe (12)
- # clojure-losangeles (3)
- # clojure-nl (7)
- # clojure-uk (4)
- # clojurescript (29)
- # conjure (6)
- # core-async (8)
- # cursive (16)
- # data-science (7)
- # datomic (1)
- # exercism (4)
- # figwheel-main (8)
- # fulcro (9)
- # graphql (2)
- # helix (1)
- # introduce-yourself (3)
- # jobs (3)
- # lsp (4)
- # malli (20)
- # minecraft (3)
- # nextjournal (62)
- # off-topic (16)
- # overtone (34)
- # pathom (5)
- # polylith (10)
- # portal (1)
- # re-frame (104)
- # reagent (29)
- # reitit (1)
- # remote-jobs (2)
- # rum (3)
- # shadow-cljs (22)
- # spacemacs (2)
- # sql (10)
- # tools-deps (17)
- # vim (13)
opened https://github.com/bhauman/figwheel-main-template/pull/35 to update the base and template gitignore files
With figwheel original, I would run lein repl
to start my server and then in a second terminal tab, I’d run lein figwheel
and figwheel wouldn’t try to start any sort of server, it was simply a passthrough of the compiled clojurescript. how do I achieve the same thing with figwheel-main
? there’s https://figwheel.org/docs/your_own_server.html, but it’s all about starting the server along with figwheel main in a single command, which doesn’t give me the ability to have a server repl
Which is to say, “We will create a Ring server and launch it via a script.“, but I don’t want to do that, I want to run the server as a repl by itself and then run figwheel main such that it doesn’t create its own server either
Figwheel needs to run its own server, I don't think you can avoid that. The server can co-exist with another one in your app. I'm not sure I understand the issue.
thanks for the reminder to follow-up: the issue is that i was going to the page for the figwheel port instead of the http-kit server’s port, so it wasn’t using the server’s code, just figwheel’s.
okay, after experimenting with a fresh project, I’m trying to move figwheel into my older (crappier) app, and getting this error:
$ lein fig:build
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
Syntax error (ClassNotFoundException) compiling at (ring/adapter/jetty.clj:1:1).
org.eclipse.jetty.util.ssl.KeyStoreScanner
Full report at:
/var/folders/_t/9vwp28193qv_2m0sj0c982m80000gn/T/clojure-9443313280773539384.edn
has anyone seen this before?Oh good call, I didn’t see that. I'll try that out