figwheel-main

2021-12-09T14:37:21.022800Z

opened https://github.com/bhauman/figwheel-main-template/pull/35 to update the base and template gitignore files

2021-12-09T16:39:13.025500Z

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

2021-12-09T16:40:55.026700Z

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

Jan K 2021-12-09T17:23:21.029300Z

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.

2021-12-09T17:41:18.030900Z

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.

2021-12-09T22:06:13.032100Z

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?

Jan K 2021-12-09T22:28:07.032300Z

Could be this https://figwheel.org/docs/jetty_conflicts.html

2021-12-09T22:29:53.032800Z

Oh good call, I didn’t see that. I'll try that out