This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-09
Channels
- # announcements (2)
- # babashka (33)
- # beginners (122)
- # bristol-clojurians (1)
- # calva (6)
- # chlorine-clover (3)
- # cider (45)
- # clara (10)
- # clj-kondo (3)
- # cljsrn (17)
- # clojure (80)
- # clojure-dev (21)
- # clojure-europe (86)
- # clojure-italy (5)
- # clojure-japan (5)
- # clojure-losangeles (7)
- # clojure-nl (5)
- # clojure-portugal (3)
- # clojure-uk (31)
- # clojurescript (30)
- # conjure (4)
- # core-async (29)
- # cursive (20)
- # data-science (25)
- # datomic (7)
- # duct (17)
- # figwheel-main (73)
- # fulcro (23)
- # jobs-discuss (36)
- # juxt (5)
- # kaocha (2)
- # lambdaisland (6)
- # luminus (5)
- # malli (17)
- # mount (10)
- # music (7)
- # off-topic (16)
- # re-frame (30)
- # ring (17)
- # rum (1)
- # shadow-cljs (10)
- # spacemacs (10)
- # specmonstah (4)
- # sql (45)
- # tools-deps (21)
- # xtdb (20)
if I’ve got states A and B, A uses B in its start, when I start state A, state B doesn’t get started… what is the reason for that?
@roklenarcic you can start all with (mount/start)
or you can do (mount/start #'foo/a #'foo/b)
when you start a state individually (mount/start #'foo/a)
it only focuses on a state specified and does not affect other states
so if I want to start the web server, but not scheduled jobs for instance, I have to manually list all the dependencies?
you can start all except
a "scheduler" state: https://github.com/tolitius/mount#composing-states
or if you don't need to compose them: https://github.com/tolitius/mount#start-an-application-without-certain-states
right, so I need to list scheduler and dependencies that it uses but web server doesn’t use in except
I assume same principle applies, putting just scheduler in except will only skip that one, not it’s dependencies