This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-30
Channels
- # aws (4)
- # beginners (143)
- # boot (37)
- # cider (31)
- # cljs-dev (53)
- # clojure (303)
- # clojure-conj (5)
- # clojure-dev (106)
- # clojure-dusseldorf (2)
- # clojure-greece (3)
- # clojure-italy (23)
- # clojure-spec (83)
- # clojure-uk (7)
- # clojurescript (328)
- # core-async (25)
- # cursive (2)
- # datascript (2)
- # datomic (3)
- # emacs (10)
- # hoplon (1)
- # jobs (2)
- # lein-figwheel (1)
- # leiningen (13)
- # luminus (6)
- # off-topic (38)
- # onyx (2)
- # parinfer (13)
- # pedestal (2)
- # portkey (5)
- # re-frame (11)
- # reagent (2)
- # shadow-cljs (61)
- # specter (6)
- # unrepl (60)
- # vim (4)
I have something really weird going on with lein: when I run lein figwheel
, compile seems to work fine, it loads up to
Prompt will show when Figwheel connects to your application
[Rebel readline] Type :repl/help for online help info
but when I run localhost:3449' in the browser, it doesn't connect and it load an old version of the app - changes in cljs files are not loaded. I have been
lein clean`, rm -r target
and restarting pc already a few times.figwheel seems to compile old sources, not new ones. I have no idea why or where lein takes these sources from
How can I find out what's wrong (why lein is taking old sources over and over again)
@kurt-o-sys I have resolved that kind of situation by clearing the browser cache, although I am unsure of the underlying cause (unless it's just too many browser tabs)
did that also, will tray again 😛
when lein isn't running, I get an error in the browser (as expected). well, I'll try again 😛
hey guys, does lein offer a way to execute code inside the project.clj? i’m really just trying to use it to read env variables defined in an upstream process
I’ve also seen people use read-eval literals in defproject
It works and I do not know that I see a major difference between that and ~
. However, there is a comment I’ve found in Leiningen core functions under defproject
that says the next major version, 3, of lein
will drop support for ~
in favor of using Clojure’s read-eval syntax instead
The ~
(unquote) style can be seen in the sample project https://github.com/technomancy/leiningen/blob/stable/sample.project.clj#L12
It is used in several places in this
The 3.0 deprecation of unquote is mentioned here https://github.com/technomancy/leiningen/wiki/ThreePointZero#custom-unquote