This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-11
Channels
- # adventofcode (116)
- # aleph (10)
- # announcements (2)
- # beginners (67)
- # boot (3)
- # calva (17)
- # cider (8)
- # cljdoc (27)
- # cljsrn (6)
- # clojure (144)
- # clojure-austin (3)
- # clojure-boston (1)
- # clojure-dev (25)
- # clojure-europe (4)
- # clojure-italy (26)
- # clojure-losangeles (4)
- # clojure-nl (28)
- # clojure-russia (1)
- # clojure-uk (34)
- # clojurescript (130)
- # cursive (20)
- # datomic (69)
- # emacs (14)
- # figwheel-main (2)
- # fulcro (31)
- # graphql (3)
- # hyperfiddle (3)
- # jobs (1)
- # jobs-discuss (1)
- # kaocha (1)
- # leiningen (2)
- # lumo (2)
- # nrepl (1)
- # off-topic (182)
- # onyx (5)
- # re-frame (88)
- # reagent (12)
- # reitit (2)
- # ring-swagger (13)
- # shadow-cljs (136)
- # tools-deps (28)
- # vim (4)
Hi guys, i am trying to implement a boot run
task as an equivalent to lein run
. It basically works, but instead of remaining in the foreground like with lein, boot returns immediately after having started the http server:
~/s/w/L/leihs-sql-assistant (master) $ boot [ run -- -d jdbc: ]
[INFO Dec-11-Tue_17:20:33 leihs.sql-assistant.run clojure-agent-send-off-pool-0] Invoking run with options: {:http-base-url {:protocol http, :host localhost, :port 3250, :context nil, :url }, :database-url {:protocol jdbc, :sub-protocol postgresql, :database leihs_prod, :username nil, :password mkmit, :host localhost, :port 5432, :max-pool-size 5}}
[INFO Dec-11-Tue_17:20:33 leihs.core.ds clojure-agent-send-off-pool-0] Initializing db pool {:protocol jdbc, :sub-protocol postgresql, :database leihs_prod, :username nil, :password mkmit, :host localhost, :port 5432, :max-pool-size 5} ...
[INFO Dec-11-Tue_17:20:33 leihs.core.ds clojure-agent-send-off-pool-0] Initializing db pool done.
[INFO Dec-11-Tue_17:20:33 leihs.core.http-server clojure-agent-send-off-pool-0] starting server {:ssl? false, :join? false, :port 3250, :host localhost}
[INFO Dec-11-Tue_17:20:33 leihs.core.http-server Thread-19] #object[leihs.core.http_server$stop 0x515075ea leihs.core.http_server$stop@515075ea]
~/s/w/L/leihs-sql-assistant (master) $
Any ideas? My build.boot
file is here: https://github.com/leihs/leihs-sql-assistant/blob/master/build.boot