This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-18
Channels
- # announcements (8)
- # aws (5)
- # babashka (69)
- # beginners (37)
- # calva (222)
- # cider (10)
- # clj-commons (8)
- # clj-kondo (69)
- # cljdoc (5)
- # clojure (62)
- # clojure-dev (23)
- # clojure-europe (37)
- # clojure-italy (2)
- # clojure-nl (6)
- # clojure-sg (6)
- # clojure-uk (5)
- # clojurescript (25)
- # clojureverse-ops (12)
- # conjure (1)
- # cursive (1)
- # fulcro (9)
- # gorilla (1)
- # graalvm (6)
- # graphql (1)
- # gratitude (1)
- # honeysql (7)
- # introduce-yourself (4)
- # jobs (1)
- # kaocha (9)
- # keyboards (4)
- # leiningen (8)
- # lsp (21)
- # malli (9)
- # music (3)
- # nextjournal (17)
- # nrepl (6)
- # off-topic (10)
- # pathom (12)
- # portal (25)
- # reagent (8)
- # releases (1)
- # specter (1)
- # xtdb (1)
I wanted to run another command when starting shadow, so according to these docs https://docs.cider.mx/cider/cljs/shadow-cljs.html#configuration i thought i could just add that command to my cider-shadow-cljs-command like so:
((nil . (
(cider-shadow-cljs-command "npm run feature-flags && npx shadow-cljs")
(cider-default-cljs-repl . shadow)
(cider-shadow-default-options . "dev")
(cider-shadow-watched-builds . ("dev" "cards")))))
However this is throwing an error: split-string: Wrong type argument: stringp, ("npm run feature-flags && npx shadow-cljs")
oh i probably need that period.
hmm now it seems there is some descripency between what i can run at the command line and what will execute in emacs as i get this error:
error in process sentinel: Could not start nREPL server:
> [email protected] feature-flags
> bb bin/generate_feature_flags.clj
clojure.lang.ExceptionInfo: Could not require babashka.deps. [at /home/drewverlee/archmedx/kyber/clients/bin/generate_feature_flags.clj, line 1, column 1]
oh intresting. emacs shell has a much older version, 0.0.96
yep that was the issue. Ty
What variable would i use to pass args after the watch option? e.g the --config-merge ...
part of: npx shadow-cljs watch dev --config-merge ./config.edn
cider-shadow-cljs-global-options ?