fixes for nrepl.

This commit is contained in:
Bryce Covert
2018-08-10 13:59:21 +00:00
parent 3d20cb31a0
commit 5825a3ebe9
3 changed files with 3 additions and 1 deletions

View File

@@ -11,7 +11,7 @@
(ns-resolve 'cider.nrepl 'cider-nrepl-handler))
(defn -main [& args]
(start-server :port 9000 :bind "localhost" :handler (cider-nrepl-handler))
(start-server :port 9000 :bind "0.0.0.0" :handler (cider-nrepl-handler))
(let [port (Integer/parseInt (or (env :port) "3000"))]
#_(future (always-process-sqs))
(run-jetty app {:port port :join? false})))