This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-18
Channels
- # admin-announcements (3)
- # announcements (7)
- # aws (1)
- # beginners (76)
- # boot (340)
- # cider (9)
- # clara (35)
- # cljs-dev (7)
- # cljsjs (16)
- # cljsrn (11)
- # clojars (1)
- # clojure (192)
- # clojure-dev (6)
- # clojure-madison (8)
- # clojure-russia (373)
- # clojurebridge (1)
- # clojured (9)
- # clojurescript (172)
- # community-development (1)
- # core-async (2)
- # cursive (7)
- # data-science (2)
- # datomic (12)
- # devcards (1)
- # dirac (63)
- # emacs (3)
- # events (10)
- # gsoc (3)
- # hoplon (1)
- # jobs (1)
- # juxt (20)
- # ldnclj (4)
- # lein-figwheel (12)
- # leiningen (1)
- # off-topic (21)
- # om (232)
- # onyx (64)
- # parinfer (8)
- # proton (21)
- # re-frame (8)
- # reagent (1)
- # ring (3)
- # ring-swagger (3)
- # slack-help (4)
- # spacemacs (6)
- # testing (3)
Hello!
I have recently started working with lein-figwheel
and wanted to know how people generally use it with a server backend. I usually start with client and server sub-projects. Now my client is running lein-figwheel
. How can I set it up so that I can continue to use cljs repl and am able to access the server. One option is ring-handler
but for that I will have to add a dependency of server into the client's project.clj
which I don’t want to do. Also, I am using component
library and am not sure how I can use that with the ring-handler
. Another option can be to use figwheel-sidecar
but again that would add a dependency.
@tawus Chestnut was just updated, it may have some ideas that you can use. I ended up just splitting my project into 2, one for CLJ and one for CLJS, so can't rally help you.
Thanks @shaun-mahood. I will take a look into that. Well, if it works better, I find no reason not to put both client and server into a single project.
So chestnut uses ring-handler
and because the server and client are in the same project, no dependencies are needed. right ?
hi, is there a community this is the way to do it for building css with figwheel? i can't seem to find any examples using the google. (should i be using garden? gaka? cssgen?) can figwheel watch-and-reload those files like it can the css files?
afaik figwheel just watches for changes in the compiled product and loads them into the page