Fix scittle.nrepl to honor SCITTLE_NREPL_WEBSOCKET_PORT

Add (deref (promise)) to doc/nrepl/bb.edn:http-server
This commit is contained in:
Srijayanth Sridhar 2022-10-18 19:31:40 +05:30
parent 12e5a33964
commit 20e125dd6c
No known key found for this signature in database
GPG key ID: 9B48B4F632B1EFA8
2 changed files with 7 additions and 3 deletions

View file

@ -5,7 +5,8 @@
: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"))}
(println "Serving static assets at http://localhost:1341")
(deref (promise)))}
browser-nrepl {:doc "Start browser nREPL"
:requires ([sci.nrepl.browser-server :as bp])