Fork me on GitHub
#boot
<
2017-04-30
>
qqq04:04:26

java.lang.Thread.run                       Thread.java:  745
         java.util.concurrent.ThreadPoolExecutor$Worker.run           ThreadPoolExecutor.java:  617
          java.util.concurrent.ThreadPoolExecutor.runWorker           ThreadPoolExecutor.java: 1142
                        java.util.concurrent.FutureTask.run                   FutureTask.java:  266
                                                        ...                                        
                        clojure.core/binding-conveyor-fn/fn                          core.clj: 2020
                                          boot.core/boot/fn                          core.clj: 1030
                                                        ...                                        
                                  boot.core/construct-tasks                          core.clj:  992
                                         clojure.core/apply                          core.clj:  657
                                                        ...                                        
                                       boot.user/eval790/fn  boot.user2289662831874648767.clj:   13
                                                        ...                                        
                              adzerk.boot-reload/eval529/fn                   boot_reload.clj:  128
                            adzerk.boot-reload/start-server                   boot_reload.clj:   34
                                          boot.pod/call-in*                           pod.clj:  413
                                                        ...                                        
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke       ClojureRuntimeShimImpl.java:  102
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke       ClojureRuntimeShimImpl.java:  109
                                                        ...                                        
                                          boot.pod/call-in*                           pod.clj:  410
                                      boot.pod/eval-fn-call                           pod.clj:  359
                                         clojure.core/apply                          core.clj:  657
                                                        ...                                        
                            adzerk.boot-reload.server/start                        server.clj:   67
                                                        ...                                        
                              org.httpkit.server/run-server                        server.clj:    8
                              org.httpkit.server/run-server                        server.clj:   42
                       org.httpkit.server.HttpServer.<init>                   HttpServer.java:   77
                        sun.nio.ch.ServerSocketAdaptor.bind          ServerSocketAdaptor.java:   67
                        sun.nio.ch.ServerSocketAdaptor.bind          ServerSocketAdaptor.java:   74
                    sun.nio.ch.ServerSocketChannelImpl.bind      ServerSocketChannelImpl.java:  223
                                        sun.nio.ch.Net.bind                          Net.java:  425
                                        sun.nio.ch.Net.bind                          Net.java:  433
                                       sun.nio.ch.Net.bind0                           Net.java     
    java.net.BindException: Cannot assign requested address
clojure.lang.ExceptionInfo: Cannot assign requested address
    file: "/tmp/boot.user2289662831874648767.clj"
    line: 19
in the above , how do I begin to debug "what address is this trying to take" ?

qqq04:04:41

this is from running "boot my-task"

kirill.salykin15:04:40

Hi, I am trying to implement auto code reload with boot, pedestal and component.

(deftask start-server []
  (let [d (delay (-main))]
    (with-pass-thru [_] <@U1DHX2E5V>)))

(deftask dev []
  (comp
   (watch)
   (refresh)
   (sass)
   (start-server)))

-----

(defn -main [& args]
  (component/start (system)))
refresh taken from https://github.com/samestep/boot-refresh system - is system-map from component library But nothing works, if someone has working example - please share.

richiardiandrea16:04:35

@kirill.salykin I have never used boot-refresh, but what error do you receive? Aren't namespaces reloaded when you change a file?

mobileink17:04:15

how can I eval cljc code in a boot-cljs repl? I’m getting ‘cider-eval-last-sexp’ needs a Clojure REPL’

mobileink17:04:55

background: I have spec schemata code that works in clj and I want it to work in cljs too.

mobileink20:04:33

fyi, got an answer on #cider: M-x clojurescript-mode

donyorm21:04:57

So is there a document on how to begin contributing to boot? Are there any conventions I need to know about?

micha21:04:36

@donyorm no rules or conventions that i'm aware of 🙂

donyorm21:04:23

so is the "hacking boot" section the best way to set-up an enviroment. Basically, do I need to run make install every time I want to see my changes? Sorry I'm super new to this

mobileink21:04:42

only one: must be bootish

micha21:04:55

building boot is a little bit inconvenient because of the way it is divided into modules

micha21:04:13

the modues are needed for pods to work properly

donyorm21:04:24

ok. Just wanted to make sure I didn't miss something.

mobileink21:04:09

do you have specific contribs in mind?

mobileink21:04:21

spend some quality time with the "watch" task.

mobileink21:04:40

you makes a change, watch sees it and reruns the task list. super easy.