Fork me on GitHub
#cursive
<
2021-08-03
>
sb11:08:58

Hi, I run Clojure + ShadowCLJS project via REPL (init via dev.clj). I can call successfully cljs part, but I can’t execute code or ns from cljs’s namespaces, from editor part (SHIFT+CMD+P). How is it possible solve with Cursive?

[:app] Compiling ...
[:app] Build completed. (1381 files, 2 compiled, 0 warnings, 0,59s)
(shadow.cljs.devtools.api/repl :app)
[0:0]~app.index=> 

danm16:08:17

Hmm... My Cursive has suddenly stopped accepting 'X in REPL" commands. It keeps telling me Dependency cycle: time.clj -> time.clj -> time.clj. The same commit is working fine for other people in their Cursives (and the deployed app is testing fine on CI and working fine), so I'm definitely suspecting some sort of local weirdness. Invalidate caches and restart doesn't seem to be fixing it. Any other suggestions?

danm17:08:12

It also keeps adding /dev as a content root every time I rescan Leiningen projects, and... why?

danm17:08:26

It's not mentioned anywhere in there...

danm17:08:45

Ahha, might have found it

wilkerlucio20:08:45

I'm seeing an weird behavior when running tests on Cursive, the test markers disappear automatically after a second of running it. it helpers about 60% of the time I run the tests

wilkerlucio20:08:21

also sometimes the markers are there, then I scroll and they are gone

wilkerlucio23:08:20

yes, same problem

wilkerlucio23:08:34

also on cljc files, I didnt tested with clj only