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

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

kwrooijen16:12:03

While being in a .clj file

kwrooijen16:12:15

Is that intended?

kwrooijen16: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?

kwrooijen16: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