This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-14
Channels
- # adventofcode (20)
- # arachne (11)
- # beginners (53)
- # boot (342)
- # cider (54)
- # cljs-dev (39)
- # cljsrn (4)
- # clojure (78)
- # clojure-brasil (2)
- # clojure-italy (5)
- # clojure-nl (4)
- # clojure-quebec (1)
- # clojure-russia (90)
- # clojure-sanfrancisco (4)
- # clojure-spec (55)
- # clojure-uk (27)
- # clojurescript (170)
- # core-async (1)
- # core-logic (1)
- # css (1)
- # cursive (8)
- # datomic (83)
- # dirac (5)
- # hoplon (24)
- # lambdaisland (1)
- # lein-figwheel (23)
- # midje (2)
- # off-topic (1)
- # om (4)
- # om-next (7)
- # onyx (74)
- # proton (1)
- # protorepl (22)
- # rdf (2)
- # re-frame (105)
- # reagent (15)
- # ring-swagger (3)
- # rum (4)
- # slack-help (17)
- # spacemacs (14)
- # untangled (62)
- # vim (4)
- # yada (18)
Hey folks, is it possible to disable the builtin web server?
Can't seem to find the relevant config option in the README
@dergutemoritz you can't disable the built in webserver (required for websocket communication), you can still run your own server in addition to it.
@bhauman Thanks! In my case, the system is only started in order to be able to run build-once
so the web server doesn't really serve a purpose but may collide with another one listening on the same port. Not a big deal, though 🙂
Oh no, I'm using figwheel-sidecar.repl-api
here
@dergutemoritz yeah so all repl api commands require a server
@bhauman Right, figured as much!
you can use the clojurescript build fn if you are just needing to build something from a script
Oh wait but figwheel-sidecar.repl-api/build-once
doesn't really need the web server, does it?
Or does it to push the change into the browser
@bhauman Which clojurescript fn are you talking about specifically? The compiler's main entry point? I would like one that would let me re-use the build config from project.clj
Yeah make sense, given the namespace, hee
@bhauman What I'm actually looking for is a way to call into lein-cljsbuild
from the main application context (i.e. not from the Leiningen context). Do you know whether there is such an API?
I really suggest doing it the way the cljs Quick Start prescribes... you can get the config data with figwheels/fetch-config
@bhauman Ah excellent, that's exactly what I was looking for 🙂 Thanks!
Works like a charm :thumbsup: