This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-08
Channels
- # admin-announcements (3)
- # bangalore-clj (3)
- # beginners (21)
- # boot (32)
- # cider (14)
- # clara (2)
- # cljs-dev (19)
- # cljsjs (8)
- # cljsrn (1)
- # clojars (1)
- # clojure (147)
- # clojure-australia (6)
- # clojure-brasil (8)
- # clojure-canada (2)
- # clojure-gamedev (3)
- # clojure-greece (2)
- # clojure-hk (5)
- # clojure-italy (10)
- # clojure-japan (8)
- # clojure-korea (4)
- # clojure-russia (25)
- # clojure-sg (2)
- # clojure-spec (36)
- # clojure-uk (34)
- # clojurescript (88)
- # cursive (157)
- # datomic (6)
- # devcards (1)
- # dirac (1)
- # editors-rus (3)
- # events (2)
- # funcool (1)
- # hoplon (57)
- # jobs (9)
- # lein-figwheel (2)
- # luminus (1)
- # om (156)
- # onyx (93)
- # perun (11)
- # rdf (65)
- # re-frame (36)
- # reagent (17)
- # ring-swagger (3)
- # specter (19)
- # untangled (33)
(deftask dev
"Run a restartable system in the Repl"
[]
(comp
(environ :env {:http-port "3000"})
(watch :verbose true)
(system :sys #'dev-system :auto true) ; :files ["handler.clj" "html.clj"])
(repl :server true)))
But if I do, I’m not able to get the init/go/reset functions that would normally be injected into the namespace if I ran boot dev
from the command line
@smw Running (dev)
in boot.user will start another repl, I think. That doesn't solve your problem, but probably isn't your intention either.
Yeah, I think I figured out running (boot (dev)) does something like that too. But still not solving my problem.
I think I got it to work in cursive correctly, so I gave up on cider for the moment … solving a real problem, but I was enjoying cider, when it worked.
You basically want to take the (repl :server true)
out of dev, if you it to run from the REPL. I'd suggest adding a flag to dev.
Derp. Just remembered that there's a CIDER feature for this: In Emacs do M-x customize-variable cider-boot-parameters and set it to dev
Of course, if you have a CIDER task as described here: https://github.com/boot-clj/boot/wiki/Cider-REPL you want to set it to cider dev
Yep, but that's more a reflection of what Cider is doing at the moment, as opposed to system.boot.
Hello getting a null pointer error in my boot script?
^figured it out, (sift :add-jar {’namespace “path"})
will NPE if the namespace is missing (in this case was removed)