force to open dashboard with Chrome, to overwrite default browser

parent b5a154d7
......@@ -33,7 +33,7 @@
(require '[scg-server.core :as server])
(deftask dashboard
"Run the application"
"Run the application."
[p port PORT int "Port web server listens on"]
(let [port (or port 8080)]
(comp
......@@ -42,7 +42,7 @@
(info (str "Server started on port " port))
(info (str "Opening Dasboard on:\n"
"https://observablehq.com/@bultmann/scg-dashboard?scgport=" port))
(dosh "open" (str "https://observablehq.com/@bultmann/scg-dashboard?scgport=" port))
(dosh "open" "-a" "Google Chrome" (str "https://observablehq.com/@bultmann/scg-dashboard?scgport=" port))
fileset)
(wait))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment