This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-01
Channels
- # announcements (3)
- # beginners (59)
- # calva (23)
- # cider (58)
- # clojure (125)
- # clojure-dev (18)
- # clojure-dusseldorf (1)
- # clojure-europe (21)
- # clojure-germany (1)
- # clojure-hamburg (1)
- # clojure-italy (13)
- # clojure-nl (29)
- # clojure-poland (3)
- # clojure-spec (61)
- # clojure-uk (74)
- # clojurescript (12)
- # core-async (6)
- # cursive (4)
- # data-science (7)
- # datomic (14)
- # defnpodcast (1)
- # events (4)
- # fulcro (72)
- # juxt (36)
- # kaocha (3)
- # nginx (3)
- # off-topic (14)
- # pathom (5)
- # ring-swagger (68)
- # shadow-cljs (25)
- # spacemacs (8)
- # sql (42)
- # tools-deps (8)
- # vim (6)
similarly, do you know the command for running a dev build of clojurescript? figwheel is fine, or a one-off
hmm. do you know where it compiles to? i don't seem to have a compiled file in my project
I don't have anything showing up in my target/dev
, so my app can't serve the js in development
There seems to be more to it than simple aliases in deps.edn
, so i'm not sure how to get cursive to run all the right stuff
no, you just use the aliases dev,dev/build,build and then type (dev)
and then (go)
at the repl.
maybe you have a good suggestion here. i'd like to use mount for its faster development workflow and to avoid explicit config, but the only way i can find of getting the cljs to build seems to be to keep integrant in the project. how would you bridge this gap?
ah, when you save a file it automatically reloads any components it contains (and the dep tree if necessary)
Integrant is one of the few opinions of edge, so mount is not something I have any ideas on supporting.
just wondering how you'd go about kicking off the cljs stuff without integrant. it must wrap something that does it, but i'm just not familiar with what the "something that does it" is
Edge has deep integration with integrant, it provides some of the backbone for making the automatic development work.
In vim you can aucmd BufWrite * :Eval (reset)
, can't cursive do something like that?
i'll investigate. ideally it will work without developer intervention, i don't want IDE customisation to be necessary for the project to work
that's your workflow, not a general one. This is a place I would advocate for developer customization.
i like developer customisation for things that are personal, but not for things that are shared
with reloading edited namespaces, i can't think of a time when you wouldn't want that, so it feels like a shared concern