Skip to content

Instantly share code, notes, and snippets.

Created October 20, 2017 23:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/62370f0f33fd16eaca282d6934c8b165 to your computer and use it in GitHub Desktop.
Save anonymous/62370f0f33fd16eaca282d6934c8b165 to your computer and use it in GitHub Desktop.
;; original boot config
(set-env!
:source-paths #{"src"}
:resource-paths #{"resources/"}
:dependencies
'[;; clojure core
[org.clojure/clojure "1.9.0-beta2"]
[cider/cider-nrepl "0.16.0-SNAPSHOT"]
[portkey "0.1.0-SNAPSHOT"]])
(swap! boot.repl/*default-middleware*
conj 'cider.nrepl/cider-middleware)
(deftask learning-dev []
(comp
(repl :port 3000)))
;; ===== lein project.clj so far:
(defproject foobar "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [;; clojure core
[org.clojure/clojure "1.9.0-beta2"]
[cider/cider-nrepl "0.16.0-SNAPSHOT"]
[portkey "0.1.0-SNAPSHOT"]])
;; questions
how do I setup cider-nrepl on port 3000 in lein ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment