Skip to content

Instantly share code, notes, and snippets.

@jacobobryant
Created December 9, 2023 00:21
Show Gist options
  • Save jacobobryant/24f35658a7a7fe6b63963a5eaa3acbbf to your computer and use it in GitHub Desktop.
Save jacobobryant/24f35658a7a7fe6b63963a5eaa3acbbf to your computer and use it in GitHub Desktop.
How to make cider use `bb dev` to start the REPL

Put this in .dir-locals.el:

((nil . ((cider-preferred-build-tool . babashka)
         (cider-babashka-parameters . "dev"))))
@harismh
Copy link

harismh commented Mar 31, 2024

Perhaps something like this? (untested)

((nil (cider-clojure-cli-aliases . "-M:dev")
      (cider-clojure-cli-parameters . "dev") 
      (cider-preferred-build-tool . clojure-cli)))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment