dev.clj

Bowmap · bowmap.git · Tickets

Branches > main > af0a324 > files / dev / dev.clj

(ns dev)

(defn -main
  "Compiles and caches the server and its deps, starts the server and a REPL."
  [& args]
  (println "Dev: Starting server...")
  (compile 'net.bowmap.server.core)
  (future (apply (resolve 'net.bowmap.server.core/-main) args))
  (compile 'clojure-cli.repl.server)
  ((resolve 'clojure-cli.repl.server/-main) "repl"))