Fork me on GitHub
#boot
<
2017-09-14
>
donyorm15:09:57

So trying to connect to a cljs-repl repl. I followed the steps in the README, but whenever I try to fun it, it gets stuck at Writing boot_cljs_repl.cljs... and just sits there. Is this a common issue?

dominicm17:09:24

@donyorm what are you connecting with? What does your pipeline look like?

donyorm03:09:44

I ran this command: boot dev reload cljs-repl cljs start-server repl -c

dominicm07:09:24

And what did you connect with? Emacs?

donyorm07:09:53

Sorry? I just used the repl that opened up in terminal after running that command

dominicm07:09:11

Did you open your browser after connecting?

donyorm07:09:35

I'm not sure. Let me try it with making sure I did

donyorm07:09:35

Yes I did. And it says so in the repl: waiting for client to connect ... Connection is

dominicm07:09:03

I'm now wondering if it won't work if you have a blocking task. Can you use watch and run boot repl -c in a different terminal?

donyorm07:09:38

what would I use watch for?

donyorm07:09:03

Using boot dev reload cljs-repl cljs start-server wait and then boot repl -c -H localhost -p <nrepl port> in another terminal doesn't work either. start-server isn't a blocking task, so it needs wait to prevent the server from shutting down.

dominicm07:09:10

repl -c is.

dominicm07:09:36

Cljs-repl emits a new file, I'm wondering if this isn't working. I'm probably wrong

dominicm07:09:06

You want watch to rebuild your cljs when it changes.

dominicm07:09:22

The examples all use watch. I suspect it's important.

donyorm17:09:06

Added the watch task, it didn't fix this issue though I think you're right that its important for other things. I'll post an issue on boot-cljs-repl's github

bago19:09:34

Hello guys, any thought on what could be wrong with this travis ci log https://travis-ci.org/open-company/open-company-web/jobs/275478282 ?

bago19:09:53

it’s running in debug mode, i login, download the latest phantom (used to test my React/Rum components), download boot.sh (tried latest and 2.7.2), at the first run of boot it downloads all the dependencies, from this time all boot commands exit w/o any output nor errors

bago19:09:05

tra[email protected]:~/build/open-company/open-company-web$ boot repl -e '(System/exit 0)'
Downloading ...
Retrieving clojure-1.9.0-alpha13.pom from  (8k)
...
Retrieving slf4j-api-1.8.0-alpha2.jar from  (43k)
[email protected]:~/build/open-company/open-company-web$ boot test!
[email protected]:~/build/open-company/open-company-web$ boot pdev
[email protected]:~/build/open-company/open-company-web$ boot target
^[email protected]:~/build/open-company/open-company-web$ boot pstaging-prodstaging-build
ot-clj/boot-bin/releases/download/2.7.2/boot.sh && chmod 755 boot"v phantomjs /usr/local/phantomjs/bin/phantomjs
04.tar.bz2js-2.0.0-ubuntu-12.04.tar.bz2
ot-clj/boot-bin/releases/download/2.7.2/boot.sh && chmod 755 boot"/exit 0)'

bago19:09:45

it looks like it just exit, no error, no explanation, nothing