This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-03
Channels
- # announcements (1)
- # babashka (22)
- # beginners (176)
- # calva (10)
- # cider (4)
- # circleci (5)
- # cljsrn (20)
- # clojure (28)
- # clojure-europe (11)
- # clojure-italy (5)
- # clojure-nl (5)
- # clojure-spec (1)
- # clojure-sweden (2)
- # clojure-uk (29)
- # clojuredesign-podcast (4)
- # clojurescript (38)
- # code-reviews (25)
- # conjure (1)
- # core-typed (1)
- # data-science (16)
- # datomic (23)
- # figwheel-main (16)
- # fulcro (48)
- # helix (9)
- # jobs (3)
- # juxt (5)
- # kaocha (17)
- # malli (19)
- # mount (9)
- # nrepl (4)
- # off-topic (35)
- # pathom (7)
- # re-frame (28)
- # reagent (26)
- # reitit (1)
- # releases (1)
- # remote-jobs (5)
- # sci (6)
- # shadow-cljs (36)
- # spacemacs (3)
- # sql (8)
- # tools-deps (13)
- # unrepl (1)
- # vim (4)
- # xtdb (8)
Maybe just a note in the repl section that the above command works. That was the first place I looked when I was trying to figure out how to do this.
I don't know enough about it to make a PR unfortunately. I was in the middle of adding one but then I realized I didn't know how to make it reload the config. The normal --watch mode will look at your config file, but AFAICT this solution doesn't.
hmmm that's a good point, I think this should work, but we should come up with a better solution than this:
(kao-watch/run (assoc (kao-repl/config) :kaocha/cli-options {:config-file "tests.edn"}))
or maybe not, looking at kaocha,repl/config
it already adds (assoc-in [:kaocha/cli-options :config-file] config-file)
, which should be enough to make the watcher watch it...
if that doesn't work then I would say that's a bug and you're welcome to file an issue
Well, look what I get for assuming things 🙂 I just tried editing the test edn. Works fine. (I have the :watch? option in the file). I'll make a pr with a note in the docs if you want
yeah, I think that's a good recommendation. Please use the aliases watch
and config
in the documentation though