This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-19
Channels
- # aleph (3)
- # beginners (90)
- # boot (1)
- # cider (1)
- # cljdoc (23)
- # clojars (1)
- # clojure (91)
- # clojure-dev (8)
- # clojure-greece (1)
- # clojure-italy (17)
- # clojure-japan (1)
- # clojure-nl (6)
- # clojure-spec (4)
- # clojure-uk (89)
- # clojurescript (48)
- # core-async (5)
- # cursive (79)
- # datascript (1)
- # datomic (40)
- # duct (1)
- # emacs (7)
- # figwheel-main (2)
- # graphql (7)
- # jobs (5)
- # nyc (5)
- # off-topic (61)
- # other-languages (2)
- # parinfer (6)
- # re-frame (63)
- # reagent (131)
- # ring-swagger (6)
- # shadow-cljs (158)
- # spacemacs (14)
- # tools-deps (15)
hello all, I´m trying to use boot in 2 separate repl, one for ring server and one for clojurescript. But if I start it, ring can´t see the "/public" for serving app.js. My dev task is
(deftask dev []
(comp
(with-pass-thru _
(go-health-server.core/dev-main))
(watch)
(reload :on-jsload 'go-health-server.core/init :asset-path "public")
(cljs-repl :nrepl-opts {:port 9009})
(cljs :source-map true :optimizations :none :compiler-options {:asset-path "app.out"})
(target)))
-> ring working together clojurescript
and
(deftask dev []
(comp
(watch)
(reload :on-jsload 'go-health-server.core/init :asset-path "public")
(cljs-repl :nrepl-opts {:port 9009})
(cljs :source-map true :optimizations :none :compiler-options {:asset-path "app.out"})
(target)))
-> without ring server, and in other repl -> (run-jetty (webserver-controller #'routes) {:port 3000 :join? false})
What am I missing?