Fork me on GitHub
Jack Arrington00:12:40

Just want to say, I really appreciate that the docs at include the source code right at the bottom of each page. Makes finding the "ground truth" much easier and has gotten me way more comfortable with the language in general 🎉.


is this a bug?

eccentric J04:12:59

How does one print an html entity with reagent again?

eccentric J04:12:34

Nevermind, found the docs 😅

Timofey Sitnikov11:12:29

Good Morning Clojurians, I super confused. Why does shadow-cljs start the development http server when watching main build even if the :dev-http entry is in the :test build? Looking at the, under :builds -> :test -> :devtools it calls for shadow-cljs back-end server to start. I have been assuming that it will only start for the test build, but when I start the main build, I still get the http server:

[I] /home/sporty/clojure/fulcro/fulcro-rad-demo-sittim~> shadow-cljs watch main
shadow-cljs - config: /home/sporty/clojure/fulcro/fulcro-rad-demo-sittim/shadow-cljs.edn
shadow-cljs - starting via "clojure"
shadow-cljs - HTTP server available at 
shadow-cljs - server version: 2.11.8 running at 
shadow-cljs - nREPL server started on port 9000
shadow-cljs - watching build :main
[:main] Configuring build.
[:main] Compiling ...
Guardrails was enabled because the CLJS Compiler config enabled it
[:main] Build completed. (928 files, 0 compiled, 0 warnings, 18.48s)
If I comment out the :devtools section in the :test build, it does not start the server. Why does it start the server.


@timofey.sitnikov dev-http is always started and not tied to any specific build in general. the new [dev-http]( docs make that a bit clearer. it can be useful to have that server to quickly test release builds and so on

Timofey Sitnikov11:12:12

OK, but that looks like the :dev-http config entry is not in the right place? It makes it look like it is particular to the test build. Is that correct?

Timofey Sitnikov11:12:28

One more question, If I spin up my own back end server, will having shadow-cljs server conflict with anything?

Michaël Salihi14:12:04

@timofey.sitnikov No conlict, just be careful to take a different port.