- ;; Connected to nREPL server - nrepl://localhost:7890
- ;; CIDER 0.25.0 (Bergamo), nREPL 0.7.0
- ;; Clojure 1.10.1, Java 11.0.8
- ;; Docs: (doc function-name)
- ;; (find-doc part-of-name)
- ;; Source: (source function-name)
- ;; Javadoc: (javadoc java-object-or-class)
- ;; Exit: <C-c C-q>
- ;; Results: Stored in vars *1, *2, *3, an exception in *e;
- ;; ======================================================================
- ;; If you’re new to CIDER it is highly recommended to go through its
- ;; manual first. Type <M-x cider-view-manual> to view it.
- ;; In case you’re seeing any warnings you should consult the manual’s
- ;; "Troubleshooting" section.
- ;;
- ;; Here are few tips to get you started:
- ;;
- ;; * Press <C-h m> to see a list of the keybindings available (this
- ;; will work in every Emacs buffer)
- ;; * Press <,> to quickly invoke some REPL command
- ;; * Press <C-c C-z> to switch between the REPL and a Clojure file
- ;; * Press <M-.> to jump to the source of something (e.g. a var, a
- ;; Java method)
- ;; * Press <C-c C-d C-d> to view the documentation for something (e.g.
- ;; a var, a Java method)
- ;; * Enable ‘eldoc-mode’ to display function & method signatures in the minibuffer.
- ;; * Print CIDER’s refcard and keep it close to your keyboard.
- ;;
- ;; CIDER is super customizable - try <M-x customize-group cider> to
- ;; get a feel for this. If you’re thirsty for knowledge you should try
- ;; <M-x cider-drink-a-sip>.
- ;;
- ;; If you think you’ve encountered a bug (or have some suggestions for
- ;; improvements) use <M-x cider-report-bug> to report it.
- ;;
- ;; Above all else - don’t panic! In case of an emergency - procure
- ;; some (hard) cider and enjoy it responsibly!
- ;;
- ;; You can remove this message with the <M-x cider-repl-clear-help-banner> command.
- ;; You can disable it from appearing on start by setting
- ;; ‘cider-repl-display-help-banner’ to nil.
- ;; ======================================================================
- ;; Startup: /usr/local/bin/npx shadow-cljs -d nrepl:0.7.0 -d cider/piggieback:0.5.0 -d cider/cider-nrepl:0.25.1 server
- ;;
- ;; ClojureScript REPL type: shadow
- ;; ClojureScript REPL init form: (do (require '[shadow.cljs.devtools.api :as shadow]) (shadow/watch :app) (shadow/nrepl-select :app))
- ;;
- [:app] Configuring build.
- [:app] Compiling ...
- [:app] Build completed. (207 files, 1 compiled, 0 warnings, 7.70s)
- To quit, type: :cljs/quit
- [:selected :app]22:49:14.469 [XNIO-1 I/O-5] DEBUG io.undertow.websockets.core.request - Attempting websocket handshake with io.undertow.websockets.core.protocol.version13.Hybi13Handshake@ae4159d on HttpServerExchange{ GET /api/ws}
- 22:49:14.477 [XNIO-1 I/O-5] DEBUG io.undertow.request - Upgrading request HttpServerExchange{ GET /api/ws}
- 22:49:14.599 [XNIO-1 I/O-5] DEBUG io.undertow.websockets.core.request - UT025003: Decoding WebSocket Frame with opCode 1
- 22:49:14.618 [XNIO-1 I/O-5] DEBUG io.undertow.websockets.core.request - UT025003: Decoding WebSocket Frame with opCode 1
- 22:49:14.621 [XNIO-1 I/O-5] DEBUG io.undertow.websockets.core.request - UT025003: Decoding WebSocket Frame with opCode 1
- shadow.user>
- cljs.user> (js/alert "hi")
- No application has connected to the REPL server. Make sure your JS environment has loaded your compiled ClojureScript code.
- 22:50:14.284 [XNIO-1 I/O-1] DEBUG io.undertow.request - Timing out idle connection from /0:0:0:0:0:0:0:1:40982
- 22:50:14.731 [XNIO-1 I/O-7] DEBUG io.undertow.request - Timing out idle connection from /0:0:0:0:0:0:0:1:40984
- cljs.user>
[text] biff trying cider-jack-in-cljs
Viewer
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
Editor
You can edit this paste and save as new: