Commit unstaged changes

This commit is contained in:
heyarne 2022-02-19 19:23:12 +01:00
commit 15e5cfc8e3
6 changed files with 59 additions and 25 deletions

14
dev/user.clj Normal file
View file

@ -0,0 +1,14 @@
(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)))