Fork me on GitHub
#boot
<
2017-04-20
>
jupl00:04:09

@martinklepsch Yeah that’s what I’m pretty much wanting to do.

jjmojojjmojo13:04:09

@jupl that seems counter to how boot works - would it fit your use case to copy the source to a temporary place, then rename the dir, alter the fileset and pass that on to the next task?

talexxx14:04:41

What's the standard procedure to get a boot bREPL session fully connected? I have an nREPL running in my server process, and I can connect to it with boot -c, but I don't have access to js or any of the other functions I would expect in namespaces in my code

talexxx14:04:53

I checked the wiki but didn't find anything about it

talexxx15:04:07

cider-connect produces same "Unable to resolve symbol" errors

talexxx15:04:00

There is this issue https://github.com/adzerk-oss/boot-cljs-repl/issues/49 but I don't even see locally defined vars in a namespace

talexxx15:04:14

I spelled the namespace right, just to be sure 😉

martinklepsch15:04:03

> cljs-repl is the task to be used in the task pipeline whereas start-repl is how you connect to the ClojureScript REPL once you’re in a Clojure REPL. did you run (start-repl) in your clojure repl @talexxx ?

talexxx15:04:26

I'm using a boot build file originally generating by tenzing, so I have a dev task that looks like this:

(deftask run []
  (comp (serve)
        (watch)
        (cljs-repl)
        (reload)
        (build)))

talexxx15:04:54

(dev itself is just

(comp (development)
        (run))
)

talexxx15:04:32

So I'm connecting to whatever that task announces as its server: nREPL server started on port 52361 on host 127.0.0.1 -

talexxx15:04:10

boot repl -c -p 52361

talexxx15:04:37

Same behavior with lein repl :connect localhost:52361/repl

martinklepsch15:04:12

same behavior to what?

martinklepsch15:04:33

after running boot repl -c -p 52361, have you tried running (start-repl)?

talexxx15:04:23

Ahhhhh okay

talexxx15:04:51

So the client needs to connect to the nREPL then start a websocket connection with start-repl

talexxx15:04:16

Is there a place you would prefer I submit a doc snippet?

martinklepsch15:04:39

I pretty much just repeated what’s written here but maybe there’s a way it could be written more prominently

talexxx15:04:51

I'll make a PR, thanks

ag20:04:03

does anyone know if it’s possible to force pandeiro.boot-http to use http2 ?

pandeiro21:04:15

@ag that depends on whether jetty/httpkit support it by default

pandeiro21:04:18

I'm not sure

ag21:04:09

I think Ring’s default jetty adapter doesn’t support it yet. ;(

ag21:04:12

do you think it would make sense to create a PR on boot-http with a switch that would support https://github.com/sunng87/ring-jetty9-adapter ?

ag21:04:51

meh, I’ve tried using it, doesn’t seem to work ;(