heyarne.rect-packing/dev/user.clj
2022-02-19 19:23:30 +01:00

14 lines
374 B
Clojure

(ns user
(:require [shadow.cljs.devtools.api :as shadow]
[shadow.cljs.devtools.server :as server]))
;; copied from https://docs.cider.mx/cider/cljs/shadow-cljs.html
(defn cljs-repl
"Connects to a given build-id. Defaults to `:app`."
([]
(cljs-repl :app))
([build-id]
(server/start!)
(shadow/watch build-id)
(shadow/nrepl-select build-id)))