This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-10
Channels
- # announcements (4)
- # babashka (40)
- # beginners (39)
- # calva (16)
- # cljdoc (1)
- # cljs-dev (8)
- # clojure (72)
- # clojure-europe (10)
- # clojure-losangeles (1)
- # clojure-nl (4)
- # clojure-spec (9)
- # clojure-uk (12)
- # clojurescript (16)
- # community-development (15)
- # conjure (5)
- # cursive (5)
- # datomic (26)
- # eastwood (1)
- # emacs (7)
- # events (1)
- # figwheel-main (15)
- # fulcro (27)
- # graphql (7)
- # gratitude (4)
- # introduce-yourself (1)
- # malli (4)
- # meander (4)
- # off-topic (2)
- # other-languages (13)
- # polylith (7)
- # reagent (5)
- # reitit (5)
- # shadow-cljs (27)
- # spacemacs (4)
- # sql (3)
- # tools-deps (6)
- # xtdb (13)
Just published an article on https://dev.to/aws-builders/how-to-use-amplify-studio-figma-connector-with-clojurescript-382d Amplify Studio is pretty cool. You can do UI design in Figma using AWS Amplify UI Components and import it into your Amplify project. The article focuses on how to use that with Clojurescript. The main issues was I actually had to learn webpack / babel so the JSX ui-components and js graphql model code that gets imported into the project would get properly processed and bundled to be easily required into the Clojurescript.
Looking at the :bundle-cmd
option in ClojureScript the docs say:
> The command should be one that exits, i.e. you cannot use this to launch a watcher.
(https://clojurescript.org/reference/compiler-options)
(Or does the clojurescript compiler explicitly call wait
for all subprocesses to terminate?)
@leif I'm pretty sure we just shell out, if the process does not return you will hang the build
Right, but can't a shell spawn a process and then detach from it? (Although I'd have to double check my unix-processes references to confirm that.)
I guess basically I'm trying to let another process which watches my non-clojurescript files know that the first build of clojurescript is done, so it can begin watching.
but I thought Figwheel had it's own way of dealing w/ :bundle-cmd
to support watching?
@dnolen Ya, it looks like its`:watch-dirs` option requires it to be specifically for clojurescript: https://figwheel.org/config-options#watch-dirs, although there does seem to be :css-dirs
too....so maybe that will help...