nREPL docs
This commit is contained in:
parent
18e4d3639a
commit
1adadb1c3e
5 changed files with 107 additions and 55 deletions
17
doc/nrepl/bb.edn
Normal file
17
doc/nrepl/bb.edn
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{:deps {io.github.babashka/sci.nrepl
|
||||
{:git/sha "c14b5b4ef4390ff206cdb71f763f327799f5e853"}
|
||||
io.github.babashka/http-server
|
||||
{:git/sha "b38c1f16ad2c618adae2c3b102a5520c261a7dd3"}}
|
||||
:tasks {http-server {:doc "Starts http server for serving static files"
|
||||
:requires ([babashka.http-server :as http])
|
||||
:task (do (http/serve {:port 1341 :dir "."})
|
||||
(println "Serving static assets at http://localhost:1341"))}
|
||||
|
||||
browser-nrepl {:doc "Start browser nREPL"
|
||||
:requires ([sci.nrepl.browser-server :as bp])
|
||||
:task (bp/start! {})}
|
||||
|
||||
-dev {:depends [http-server browser-nrepl]}
|
||||
|
||||
dev {:task (do (run '-dev {:parallel true})
|
||||
(deref (promise)))}}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue