This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-25
Channels
- # admin-announcements (3)
- # alda (2)
- # beginners (10)
- # boot (44)
- # cider (31)
- # cljs-dev (5)
- # cljsjs (2)
- # cljsrn (17)
- # clojure (181)
- # clojure-austin (2)
- # clojure-brasil (18)
- # clojure-canada (1)
- # clojure-conj (5)
- # clojure-dev (11)
- # clojure-gamedev (30)
- # clojure-russia (380)
- # clojure-spec (50)
- # clojure-uk (35)
- # clojurescript (146)
- # clojutre (1)
- # component (1)
- # cursive (62)
- # datomic (27)
- # dirac (7)
- # editors (23)
- # emacs (7)
- # events (34)
- # funcool (22)
- # hoplon (134)
- # jobs (22)
- # jobs-rus (7)
- # juxt (1)
- # kekkonen (1)
- # lein-figwheel (54)
- # leiningen (7)
- # luminus (2)
- # off-topic (5)
- # om (4)
- # onyx (27)
- # proton (5)
- # protorepl (2)
- # re-frame (16)
- # reagent (29)
- # rethinkdb (2)
- # schema (1)
- # untangled (61)
- # yada (9)
eh… sorry for maybe somewhat noob question. I am running figweel through sidecar feeding this config into it:
(def figwheel-config
{:figwheel-options {:server-port 3333
:css-dirs ["resources/public"]
:ring-handler ‘my-app.server/app}
:build-ids ["dev" "devcards"]
:all-builds
[{:id "dev"
:figwheel true
:source-paths ["src"]
:compiler {:main “my-app.app"
:asset-path "/js/out"
:output-to "resources/public/js/main.js"
:output-dir "resources/public/js/out"
:parallel-build true
:source-map-timestamp true
:verbose true}}
{:id "devcards"
:figwheel {:devcards true}
:source-paths ["src"]
:compiler {:main “my-app.devcards"
:asset-path "js/devcards_out"
:output-to "resources/public/js/devcards.js"
:output-dir "resources/public/js/devcards_out"
:parallel-build true
:source-map-timestamp true
:verbose true}}]})
something doesn’t feel right about this, and indeed sometimes it doesn’t work as intended. Can I have devcards as part of my “main” build profile?A REPL is attached to a single build only. It tells you which build when it launches.
@ag: Might be a dumb question, but does it only happen when you've just started figwheel?
it’s strange, cljs repl won’t respond on the main “dev” profile, unless I remove “devcards” profile from build-ids
https://clojurians.slack.com/archives/lein-figwheel/p1472163540000172 why can’t I have it in both builds?
when you run cljs-repl you just need to pass it the build id that you want the repl to start in
it still not working it gets stuck at "Prompt will show when Figwheel connects to your application"
@bhauman: just upgraded to 0.5.6, now I hit another issue, figwheel is newly reporting "All ClojureScript build config :output-dir parameters should be unique” where :output-dir is clearly unique for all my build ids
yes, something fishy is going on there, that pprint is huge, but it looks like resulting EDN contains all profiles and final merged profile and that could be confusing figwheel (theory)
@bhauman oh I see, it’s always says the same thing:
(ra/cljs-repl :dev)
Launching ClojureScript REPL for build: devcards
ok, found the issue, it is not really figwheel’s fault, but the error message is confusing
I’m using this technique to enable/disable checkouts: https://github.com/binaryage/dirac/blob/master/project.clj#L347
I used this technique to avoid combinatorial explosion in my profiles, there does not seem to be a good way how to disable checkouts directory (for example for release testing)
You kidding me? Figwheel is awesome! One of the reasons why I quit my boring angularjsque work is due to figwheel. I bet my career on it and I am extremely happy!