This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-11
Channels
- # announcements (1)
- # aws (3)
- # beginners (48)
- # calva (2)
- # cider (47)
- # clj-kondo (1)
- # cljs-dev (23)
- # cljsrn (10)
- # clojure (81)
- # clojure-chicago (4)
- # clojure-europe (3)
- # clojure-greece (4)
- # clojure-italy (8)
- # clojure-losangeles (1)
- # clojure-nl (6)
- # clojure-sanfrancisco (1)
- # clojure-seattle (1)
- # clojure-uk (21)
- # clojurescript (40)
- # core-async (82)
- # cursive (18)
- # datomic (6)
- # duct (11)
- # figwheel-main (4)
- # fulcro (26)
- # jobs-discuss (22)
- # leiningen (18)
- # off-topic (10)
- # pathom (3)
- # re-frame (5)
- # reagent (16)
- # reitit (4)
- # shadow-cljs (8)
- # specter (7)
- # sql (16)
- # tools-deps (58)
- # xtdb (30)
The http://figwheel.org website says to put figwheel-main.edn
in your project and gives an example of it at the top level of the project. I suggest you try putting that file elsewhere and see if it still gets picked up.
As figwheel-main.edn
is for common configuration across all your builds, I do know understand why you would you want to put it in a sub-directory. Any other build specific configuration can override those defined in figwheel-main.edn
, so you should only need one file per project and have multiple build configurations containing any specific configuration for each type of build.
Use the figwheel-main template to create a project that gives you a nice simple example
https://github.com/bhauman/figwheel-main-template
in my case i have a root level project which contains some re-frame related evts/subs (a plugin if you will), and also an example demo in an /example
folder which provides some hot reloading for development purposes. since figwheel isn't needed at all for the project's core functionality, i wanted to keep things tidy by moving any figwheel related assets to a subdirectory. i'm just being pedantic. 😉
Sorry, I don't know if this would work. It sounds like a reasonable approach and easy enough to try I assume.