This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-21
Channels
- # beginners (5)
- # boot (15)
- # capetown (1)
- # chestnut (2)
- # cljs-dev (9)
- # cljsjs (3)
- # cljsrn (1)
- # clojure (190)
- # clojure-brasil (2)
- # clojure-greece (14)
- # clojure-italy (3)
- # clojure-poland (8)
- # clojure-romania (1)
- # clojure-russia (2)
- # clojure-serbia (3)
- # clojure-spec (38)
- # clojure-uk (98)
- # clojure-ukraine (2)
- # clojurescript (65)
- # clojurex (1)
- # core-async (16)
- # cursive (16)
- # datomic (3)
- # defnpodcast (7)
- # emacs (11)
- # funcool (2)
- # hoplon (16)
- # jobs (1)
- # leiningen (4)
- # lumo (9)
- # off-topic (2)
- # om (1)
- # other-languages (1)
- # protorepl (1)
- # re-frame (50)
- # reagent (16)
- # reitit (32)
- # remote-jobs (1)
- # rum (1)
- # shadow-cljs (73)
- # spacemacs (36)
- # specter (21)
- # sql (6)
- # unrepl (107)
- # untangled (4)
who can I bother for a perun
question 😄
does anyone know of a boot task to open a url? ala figwheel's :open-urls
option?
@au-phiware what is the use case? Do you want to open it from the command line?
I want my browser to open my index page when cljs completes
you could use a simple wrapper around https://github.com/boot-clj/boot/blob/master/doc/boot.util.md#dosh
I ended up writing one 😄
(require '[clojure.java.browse :refer [browse-url]])
(deftask browse
"Opens browser to given url."
[u url VAL str "The url to browse to."]
(with-post-wrap fs
(browse-url url)
fs))
...and that's why boot rocks
I'm surprised nobody packaged that into something called boot-browse... I might have to do it 🙂
is there some tricky tricky I have to do in order to serve .woff2
files with boot-http
? /cc @pandeiro
Yeah not that I know of @richiardiandrea - but maybe that's a mime type that isn't supported by the underlying lib?
@pandeiro I opened an issue in the project, seems like a different problem/expectations