Fork me on GitHub
Christian Johansen07:12:15

I have the following in .dir-locals.el:

  (cider-clojure-cli-global-options . "-A:dev")
  (cider-default-cljs-repl . figwheel-main)
  (cider-figwheel-main-default-options . ":dev")))
But CIDER still prompts me for which figwheel build to start after connecting


did you restart your emacs?


emacs should recognize it and propose to add

Christian Johansen08:12:05

emacs picks up the first two values, but I'm prompted for the figwheel build


oh, i see, sorry

Christian Johansen07:12:27

am I doing something wrong? I'm pretty sure this used to work


Seems to me your setup is correct. You can debug what’s happening in cider-figwheel-main-init-form when you invoke it. It’s supposed to take the build from the default options if present.

Christian Johansen08:12:35

seems to be project-specific. just created another project that only has one target, and it works as expected. the project I'm experiencing this in has multiple builds and several .dir-locals.el files in various directories

Christian Johansen08:12:48

I'll look into debugging that function @bozhidar