This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-09-28
Channels
- # babashka (167)
- # beginners (91)
- # calva (24)
- # chlorine-clover (5)
- # cider (14)
- # clj-kondo (15)
- # cljdoc (20)
- # clojure (122)
- # clojure-czech (1)
- # clojure-europe (31)
- # clojure-france (2)
- # clojure-nl (5)
- # clojure-spec (8)
- # clojure-uk (7)
- # clojurescript (29)
- # conjure (2)
- # cursive (4)
- # data-science (4)
- # datomic (13)
- # figwheel-main (13)
- # fulcro (21)
- # lambdaisland (4)
- # meander (10)
- # observability (7)
- # off-topic (15)
- # overtone (4)
- # pathom (5)
- # pedestal (6)
- # re-frame (9)
- # reitit (13)
- # remote-jobs (2)
- # ring (1)
- # rum (5)
- # shadow-cljs (24)
- # spacemacs (19)
- # test-check (18)
- # tools-deps (82)
- # tree-sitter (1)
- # xtdb (35)
Hey, is there a hack for using garden-watcher with CLJC files? This would be quite useful, for instance for sharing a color palette between static files and dynamic components.
seems like ".clj" is hard coded at the moment, I guess we weren't thinking of cljc back then. A PR would be more than welcome! https://github.com/lambdaisland/garden-watcher/blob/master/src/garden_watcher/core.clj#L12-L18
Yes, the issue I see is that converting namespaces to filenames is tricky with more than one extension allowed (ie. what if there are both a CLJ and a CLJC file?). The PR should allow for directly specifying filenames. I don't have time at the moment but I could open an issue and add it to my (long) todo list