This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-11-12
Channels
- # admin-announcements (3)
- # beginners (13)
- # boot (52)
- # cbus (1)
- # cider (13)
- # cljs-dev (70)
- # cljsjs (16)
- # cljsrn (124)
- # clojure (129)
- # clojure-austin (3)
- # clojure-boston (2)
- # clojure-russia (238)
- # clojure-sg (3)
- # clojurescript (119)
- # cursive (18)
- # datomic (22)
- # editors-rus (2)
- # events (1)
- # hoplon (160)
- # jobs (1)
- # jobs-rus (8)
- # ldnclj (31)
- # ldnproclodo (1)
- # lein-figwheel (4)
- # leiningen (8)
- # off-topic (3)
- # om (335)
- # onyx (29)
- # re-frame (15)
- # reagent (12)
- # robots (1)
- # yada (19)
@podviaznikov: did you use send! As described in the commit?
Anyone using danielz/system? Is there any way to do a reload when .sql files in the resource dir is changed?
I have tried with (system :sys #'dev-system :auto-start true :hot-reload true :files ["core.clj" "inspector.clj" "events.sql"])
is anyone getting this issue when trying to run boot? Erics-Work-iMac:Desktop ericrichmond$ boot -v Downloading https://github.com/boot-clj/boot/releases/download/2.0.0-rc13/boot.jar...Exception in thread "main" java.io.FileNotFoundException: https://github.com/boot-clj/boot/releases/download/2.0.0-rc13/boot.jar at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1835) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) at java.net.URL.openStream(URL.java:1038) at boot.Loader.download(Loader.java:175) at boot.Loader.install(Loader.java:219) at boot.Loader.main(Loader.java:238) Erics-Work-iMac:Desktop ericrichmond$
@erichmond: rc13 is very old, I suggest using a stable release
e.g. export BOOT_VERSION 2.4.2
boot.properties
, yeah that’s likely
check in /.boot and /.boot/cache
haha, at least it works now 😜
what would be the best way to make sure my target-path consists of only x, y, z without removing other unrelated files from my source-paths?
ie, i was using (sift :include #{#"x" #"y" #"z"} :invert true)
, but that removes source files as well
with boot-reload — I’m serving my compiled JS on localhost:4000 but I’m actually loading it on localhost:3000 — is there a way to make boot reload reload files from another host than the current one?
Existing app that embeds cljs app.
I wish I wouldn’t have to 😄
martinklepsch: Option to configure the boot-reload client websocket address (or just port) should be enough, but it's currently missing
Or perhaps not, boot-reload should write the WS port to client
@juhoteperi: there is a ws-host
option, is that different from the websocket address you’re referring to?
the websocket port is random anyway
and is written to the client cljs
so I think it should work by default
the client should load the files from current host no matter what it is
when a js file changes, new script tag is added to DOM with absolute url, but the url doesn't contain host or port so it's loaded from current host
Oh, you wanted to load files from another host/port
@juhoteperi: I don't think that's how it works
I found out when I ran a development build remotely and "accidentally" it connected to a local reload server and started live reloading my changes
yes it connects to websocket server on localhost by default
but the files are reloaded from the same http server where the current page has been loaded
would it make sense for it to default to the http server's host instead of localhost?
I think websocket server by default listens only on local interface, so ws-host is needed
and I think that is sane default
default could continue to be localhost, and then there could be a boolean flag for trying to 'match' the js/window.location.host
Nearly managed to automate Cljsjs package deploys, but I'll need the new GPG stuff to able to configure signing for CI