Fork me on GitHub
#cider
<
2019-12-22
>
Kevin16:12:47

How come when I run cider-jack-in-clj it executes shadow-cljs instead of lein ?

Kevin16:12:03

While being in a .clj file

Kevin16:12:15

Is that intended?

Kevin16:12:42

(I do have a shadow-cljs.edn file, but I want to run lein)

dpsutton16:12:55

When there’s two build files present it should ask you to choose. There’s a var you can set called something like cider-preferred-build-tool. Perhaps you have set this in the past?

Kevin16:12:17

Ahh that was it. It was added to my custom config for Emacs, and didn’t realize it 🙂

dpsutton16:12:22

For sure. That type of var is usually best in dir-locals for exactly that reason

Kevin16:12:24

Good point