Fork me on GitHub
#boot
<
2019-06-01
>
dave12:06:09

i just realized that my prepl task isn't necessary after all. boot has a more general built-in task that can start a prepl server

dave12:06:17

to start a prepl server, run:

boot socket-server -a clojure.core.server/io-prepl wait

dave12:06:22

simplified prepl-server task 😄

(deftask prepl-server
  "Start a prepl server."
  [p port PORT int "The port on which to start the prepl server."]
  (comp
    (socket-server
      :accept 'clojure.core.server/io-prepl
      :port   (or port 5555))
    (wait)))

flyboarder17:06:17

@dave can haz pr?

flyboarder18:06:03

@dave cheers!