jasongilman / proto-repl

A Clojure Development Environment package for the Atom editor
https://atom.io/packages/proto-repl
MIT License
563 stars 50 forks source link

proto-repl won't obey project.clj :main or :repl-options #260

Open danpicton opened 7 years ago

danpicton commented 7 years ago

I've set up a basic project in proto-repl, leaning on the proto-repl-demo project. I've got the following :main in my project.clj: :main ^:skip-aot myproject.core

On proto-repl startup, it loads the dev/user.clj and the REPL starts with the user ns, but if I run lein repl from the terminal, nREPL starts with the myproject.core ns (dev/user.clj still runs before switching to the project ns). I have tried adding the following to the project.clj in the :dev profile and at the project level to no success: :repl-options {:init-ns isbn-search.core}

Apologies if my lack of understanding is letting me down, but filing issue in case it's not.