This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-12-06
Channels
- # admin-announcements (7)
- # beginners (37)
- # boot (36)
- # cider (8)
- # cljs-dev (16)
- # clojure (155)
- # clojure-hamburg (1)
- # clojure-russia (2)
- # clojurecup (21)
- # clojurescript (69)
- # clojurex (12)
- # core-async (2)
- # datavis (3)
- # datomic (5)
- # devcards (4)
- # events (2)
- # hoplon (15)
- # lein-figwheel (45)
- # off-topic (22)
- # om (77)
- # re-frame (8)
- # reagent (7)
- # slack-help (1)
@eyelidlessness: figwheel compilation exceptions and warnings only go to the client and the figwheel_server.log
Was talking about producing output in the repl from, e.g. a fs watcher. I ended up being able to do so by sending a message to the client then printing from there.
but all may be moot with the notify-command
PR, if you accept it
https://github.com/bhauman/lein-figwheel/pull/307 - it turned out to be super simple
(apologies for the whitespace noise, my editor does that on save)
well, clojure.java.shell
@eyelidlessness: I wonder if we should just have a :notify-fn much more general
as in, call an arbitrary clj function?
it may be confusing to have something similar to, but not the same as, cljsbuild, sitting in a cljsbuild config param
i could see it both ways, and certainly the clj function would be more idiomatic
i already feel strange having an arbitrary shell call in :test-commands
But less [email protected]@this case
ultimately either one can accommodate the other
imo supporting :notify-command
is nice because it is what i expected when running figwheel with cljsbuild config. supporting an arbitrary on-compile fn would also be nice, but from the figwheel config so as not to confuse cljsbuild users
Just so you know, the intention is not to follow and support changes in cljsbuild functionality. It's just a convenient source of config information. You can place your :builds in the :figwheel config in fact I'm debating about making this the implicit default in the docs so that folks aren't confused about these things
i guess to me, supporting it partially is confusing and unexpected.
perhaps the right course of action is to deprecate it and focus on the figwheel api in docs?
i mean the project config api. i actually wasn't even aware you could specify :builds
granted my introduction to figwheel came through installing the reagent template
which has its own (somewhat hodgepodge) opinions of project config
having so many ways to do things is also confusing, but that honestly is a frustration i have with project.clj in general
i do prefer having my project configured in one place tho
cheers!
it looks like you release fairly frequently too
Hi, sorry for noob question but could someone redirect me to some tutorial about deploying figwheel clojurescript project to server? I created ring handler in separate clj file in project and added key in figwheel configuration :ring-handler but what now? I also tried adding ring plugin to project.clj and then creating jar by lein ring uberjar. Server starts, sees my index.html but not compiled .js file 😕