This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # admin-announcements (40)
- # beginners (6)
- # boot (69)
- # braid-chat (43)
- # business (3)
- # cljsrn (99)
- # clojure (51)
- # clojure-art (2)
- # clojure-brasil (2)
- # clojure-dev (23)
- # clojure-portugal (1)
- # clojure-russia (15)
- # clojurescript (52)
- # community-development (319)
- # core-async (1)
- # cursive (40)
- # datomic (6)
- # editors (11)
- # emacs (1)
- # hoplon (20)
- # jobs (1)
- # ldnclj (5)
- # leiningen (2)
- # mount (5)
- # off-topic (1)
- # om (45)
- # proton (5)
- # re-frame (29)
- # reagent (4)
- # ring-swagger (1)
- # yada (6)
I experience odd caching for cljs in intellij w/ Cursive. Each time I do a lein clean or remove/add a dependency I have to restart the editor for changes to take effect. Does anyone know how to avoid this?
what I do is hover over the icon on the bottom left corner to get the menu, select lein, hit the blue arrow/circle button
can you pull up the lein project display - then you can drill down into it and see what dependencies cursive is pulling in
I use a bare minimum project.clj file for cursive and use boot for anything needed beyond that
@sveri so say you add a dep, then you refresh projects and finally restart the REPL and requiring your new dep is no problem?
@denik: did you try drilling down into the dependency tree in the lein window to see if your newly added dependency appears there?
if it doesn't, you've got an issue and someone can help track it down. Maybe a path issue, I don't know. But you need to provide more context. What you are getting is not expected.
There is also the option to invalidate the caches and restart, this helps me most of the time I have weird errors. A few times I had to delete the .IdeaIC15 folder completely in %HOME% to get rid of weird issues. This of course deletes your whole configuration, so be careful with that.
@cfleming is there a way to set default REPL config for CLJS and CLJ. currently I'm setting the each time a new project is loaded.
@denik: That’s annoying. If it’s possible, could you create a small repro case which shows the issue in your install (`lein new <whatever>`, add
something to project.clj, refresh doesn’t add it) and I’ll try to reproduce it here.
@denik: Do you mean to set the type of a particular REPL? It should auto-switch when your REPL is converted from CLJ to CLJS - how do you start your CLJS REPLs?
Even adding the REPL. So far I've had to add a REPL config to each project though they all use the same settings