Skip to content

Instantly share code, notes, and snippets.

@grav
Created April 28, 2019 11:28
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 grav/39062113284e2b005dc03fce598b2d75 to your computer and use it in GitHub Desktop.
Save grav/39062113284e2b005dc03fce598b2d75 to your computer and use it in GitHub Desktop.
Lumo plumbing
;; to use in cursive:
;; 1. create a project.clj, deps.edn or pom.xml with tubular dependency and open in Cursive
;; 2. create new run-config
;; 3. select clojure.main as repl type
;; 4. specify socket_repl.clj (this file) in `Parameters`
;; 5. run lumo with socket repl:
;; lumo --socket-repl 5555 --classpath src-dir1:src-dir2 --dependencies some/dep:0.1.0-SNAPSHOT,other-dep:1.0.1
;; 6. run run-config from cursive
(ns socket-repl
(:require [tubular.core]))
(tubular.core/connect 5555)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment