Fork me on GitHub
#duct
<
2021-03-07
>
branch1407:03:46

Does someone have an example what goes into dev.ednor local.edn ? It seems to me these files are ignored when I start with lein run. I guess I don't know how to use them properly. I would like to add a dependecyt to a module but only in dev, to ensure load order.

kwrooijen09:03:28

They are ignored because lein run doesn't use the :duct.profile/dev or :duct.profile/local profiles

kwrooijen09:03:57

lein run is meant for production use

kwrooijen09:03:30

(Well you'd actually build an uberjar for production but the effect is similar)

kwrooijen09:03:13

If you want to use dev / local you need to use lein run (dev) (go)

branch1410:03:57

Got it. Thanks for your enlighting explanations. :thumbsup:

👍 1