Should fix repl once more
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
(ns auto-ap.server
|
||||
(:gen-class)
|
||||
(:require
|
||||
[auto-ap.handler :refer [app]]
|
||||
[auto-ap.jobs.restore-from-backup :as job-restore-from-backup]
|
||||
@@ -31,8 +30,6 @@
|
||||
(org.eclipse.jetty.server.handler StatisticsHandler)
|
||||
(org.eclipse.jetty.server.handler.gzip GzipHandler)))
|
||||
|
||||
(println "LOADING SERVER")
|
||||
|
||||
(defn add-shutdown-hook! [^Runnable f]
|
||||
(.addShutdownHook (Runtime/getRuntime)
|
||||
(Thread. f)))
|
||||
@@ -156,9 +153,7 @@
|
||||
:else
|
||||
(do
|
||||
(add-shutdown-hook! shutdown-mount)
|
||||
(println "HI?")
|
||||
(start-server :port 9000 :bind "0.0.0.0" #_#_:handler (cider-nrepl-handler))
|
||||
(println "HI 2?")
|
||||
(mount/start (mount/except (mount/only #{#'user/jetty})))
|
||||
(mount/start)
|
||||
#_(alter-var-root #'nrepl.middleware.print/*print-fn* (constantly clojure.pprint/pprint))))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user