This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-03-30
Channels
- # announcements (1)
- # beginners (113)
- # cljs-dev (5)
- # cljsrn (20)
- # clojure (16)
- # clojure-losangeles (1)
- # clojure-nl (1)
- # clojure-spec (17)
- # clojure-uk (5)
- # clojurescript (125)
- # core-async (4)
- # cursive (4)
- # datomic (66)
- # defnpodcast (1)
- # fulcro (25)
- # kaocha (2)
- # klipse (1)
- # nrepl (19)
- # re-frame (5)
- # reagent (3)
- # reitit (6)
- # ring-swagger (16)
- # shadow-cljs (16)
- # sql (6)
- # test-check (1)
- # tools-deps (1)
- # vim (7)
Hi all. For some reason, nREPL doesn’t start when I run shadow-cljs watch app
It worked fine for me on the lein shadow template, which I based my config on.
Here’s my current config:
{:source-paths
["src"]
:dependencies [[binaryage/devtools "0.9.7"]
[cider/cider-nrepl "0.20.0"]
[datascript "0.18.2"]
[posh "0.5.5"]
[org.clojure/clojure "1.10.0"]
[org.clojure/clojurescript "1.10.520"]
[org.clojure/core.async "0.4.490"]
[reagent "0.8.1"]]
;; set an nrepl port for connection to a REPL.
:nrepl {:port 8777}
:builds
{:app {:target :browser
:output-dir "public/js/compiled"
:asset-path "/js/compiled"
:modules
{:main
{:entries [rectangles.core]}}
:devtools
;; before live-reloading any code call this function
{:before-load rectangles.core/stop
;; after live-reloading finishes call this function
:after-load rectangles.core/start
;; serve the public directory over http at port 8700
:http-root "public"
:http-port 8700
:preloads [devtools.preload]}
}}}
What am I doing wrong?
shadow-cljs - config: /Users/d4hines/repos/rectangles/shadow-cljs.edn cli version: 2.8.25 node: v8.12.0
shadow-cljs - connected to server
shadow-cljs - watching build :app
[:app] Configuring build.
[:app] Compiling ...
[:app] Build completed. (207 files, 1 compiled, 0 warnings, 5.02s)
It was showing the nREPL info, and then it cut out with some change I made.
Ooooh, thanks! That worked!
Much appreciate it 🙏
hi, can anyone pls point me to docs on :>
usage? As in [:> :div props child0 child1]
thanks!
specifically, I'm trying to use this https://www.npmjs.com/package/react-masonry-css with shadow-cljs