This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-28
Channels
- # aatree (3)
- # alda (8)
- # avi (21)
- # beginners (37)
- # boot (193)
- # cbus (1)
- # cider (29)
- # cljs-dev (8)
- # cljsjs (3)
- # cljsrn (20)
- # clojure (76)
- # clojure-dev (13)
- # clojure-miami (20)
- # clojure-portugal (2)
- # clojure-russia (220)
- # clojure-sg (2)
- # clojurebridge (5)
- # clojurescript (94)
- # community-development (14)
- # conf-proposals (110)
- # core-async (12)
- # cursive (12)
- # datascript (6)
- # datomic (14)
- # dirac (72)
- # emacs (49)
- # hoplon (86)
- # jobs (33)
- # jobs-discuss (1)
- # ldnclj (6)
- # lein-figwheel (1)
- # off-topic (56)
- # om (139)
- # onyx (29)
- # pedestal (17)
- # proton (23)
- # re-frame (45)
- # reagent (35)
- # ring-swagger (4)
- # test-check (1)
- # testing (8)
- # yada (11)
greetings! it's about cursive + figwheel repl again. after following https://github.com/bhauman/lein-figwheel/wiki/Running-figwheel-in-a-Cursive-Clojure-REPL I get expected REPL output:
Starting nREPL server...
/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/bin/java -Didea.launcher.port=7533 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA 15 CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath
...
Figwheel: Starting server at
Figwheel: Watching build - mybuild
Compiling "resources/public/js/main.js" from ["src" "script"]...
Compile sources, elapsed time: 2344.571071 msecs
Successfully compiled "resources/public/js/main.js" in 3.12 seconds.
...
Prompt will show when Figwheel connects to your application
To quit, type: :cljs/quit
cljs.user=>
but repl input text area is unresponsive, and after 2-3 minutes repl prints out:
for debug
:
cljs.user=> No nREPL ack received
Disconnected from the target VM, address: '127.0.0.1:61979', transport: 'socket'
Process finished with exit code 255
for run
:
cljs.user=> No nREPL ack received
Choose focus build for CLJS REPL (default) or quit >
Process finished with exit code 137
default
in "Choose focus build for CLJS REPL (default)" is a
:cljsbuild {:builds [{:id "default"...
then it dies out as expected (browser console):
Figwheel: socket connection established
utils.cljs:38 Figwheel: trying to open cljs reload socket
socket.cljs:53 WebSocket connection to '' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
I assume that something is wrong" above" figwheel, because it compiles stuff, page gets rendered, etc.
https://github.com/cursive-ide/cursive/issues/842 suggests there might be a breakpoint, but I found none
! I messed up REPL settings lol.
used
use nREPL in normal JVM process
instead of
use clojure.main in normal JVM process
-_-'