Commit unstaged changes
This commit is contained in:
parent
c340684b33
commit
15e5cfc8e3
6 changed files with 59 additions and 25 deletions
14
dev/user.clj
Normal file
14
dev/user.clj
Normal 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)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue