Fork me on GitHub
#cider
<
2020-03-07
>
hi13514:03:18

Hi, I have a question. I want to run Cider on a project with different delivery systems (web, cli, etc). Each delivery has a profile with specific dependencies. If I run cider-jack-in as is, cider-ns-refresh will fail on missing dependencies. How can I exclude certain directories? Do I have to somehow manipulate classpath? I've tried setting source-paths but it doesnt work.

hi13514:03:08

(I've also managed to jack in with certain profile via cider-lein-parameters)

hi13514:03:47

What I'm trying to achieve is to configure Cider so that reloads only namespaces for currently selected delivery system.

hi13514:03:52

Is it possible?

bozhidar17:03:04

Currently it’s not, but that’s mostly a limitation of the underlying tools.namespace library.

bozhidar17:03:43

I’m guessing in your case you can try using the simpler cider-ns-reload instead.

hi13523:03:32

I see, thanks for the info!