This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-08-19
Channels
- # announcements (5)
- # beginners (40)
- # cider (3)
- # clara (9)
- # cljs-dev (2)
- # cljsrn (4)
- # clojure (8)
- # clojure-spec (24)
- # clojure-uk (4)
- # clojurescript (3)
- # cursive (6)
- # data-science (3)
- # datomic (53)
- # emacs (3)
- # figwheel-main (11)
- # fulcro (37)
- # lein-figwheel (17)
- # off-topic (13)
- # parinfer (1)
- # re-frame (9)
- # reagent (2)
- # remote-jobs (7)
- # shadow-cljs (75)
- # tools-deps (4)
- # yada (16)
Hello Clojurians, I’ve read a few articles about Yada, also received a guidance and recommendations by Ray, but somehow I’m unable to follow the manual.
1 - cloned edge and ran boot dev (inside edge dir) and I receive the following error:
giga@ubuntu:~/edge/app$ boot dev
java.lang.Thread.run Thread.java: 748
java.util.concurrent.ThreadPoolExecutor$Worker.run ThreadPoolExecutor.java: 624
java.util.concurrent.ThreadPoolExecutor.runWorker ThreadPoolExecutor.java: 1149
java.util.concurrent.FutureTask.run FutureTask.java: 266
...
clojure.core/binding-conveyor-fn/fn core.clj: 2022
boot.core/boot/fn core.clj: 1032
...
boot.core/construct-tasks core.clj: 986
java.lang.IllegalArgumentException: No such task (dev)
clojure.lang.ExceptionInfo: No such task (dev)
line: 3
boot.properties:
#
#Sun Aug 19 02:23:39 PDT 2018
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_VERSION=2.7.2
BOOT_CLOJURE_VERSION=1.9.0
Edge has moved to clj and deps.edn. Check the app/README.adoc file. Does that help?
All works now! But I have question regarding (reset) - why not instant reload on each save?
There is instant reload via save in some cases, such as sass/css and cljs. But reset has continually been considered a deliberate action, because you are often editing multiple files between resets. The original Stuart Sierra blog on reloaded workflow probably provides a better rationale for this. In practice it feels like the right balance, as long as you can make a reset easy to trigger via your dev environment.
All right, thanks Malcolm. Another question: what is a state of Yada Manual? How relevant is it to the latest releases?
It's pretty reliable and accurate for what is there.
The bit about Edge is out of date as you've seen.
Okay, thanks a lot! I’m building a trivial API with a few routes, and this is my first Clojure product ought to be deployed into production.
Good for you. Edge should prove a sound foundation.