Mix does automatically recompile the project if a config file in config/ changes, it does not recompile dependencies if that's what you are referring to.
On Wed, Oct 12, 2016 at 4:37 PM, <jbo...@wistia.com> wrote: > I feel like a common idiom in Elixir is to define environment-specific > variables using module attributes so that each environment's changes can be > compiled directly (instead of being called dynamically). The most obvious > place to define these module attributes is in the respective config > directory. Right now if you compile the source with a given module > attribute you need to blow away the _build directory and call mix again to > recompile. I think it would be nice if mix could look at the timestamp of > the respective config file and recompile if needed. Alternatively, it would > be helpful if mix would warn if the config file has changed and a recompile > is needed to use the latest source (as there aren't any indicators that mix > didn't pick up the changes in the config file) > > -- > You received this message because you are subscribed to the Google Groups > "elixir-lang-core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to elixir-lang-core+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/elixir-lang-core/e382bc20-e178-4e7d-a039- > b63f41a60e6f%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-core/e382bc20-e178-4e7d-a039-b63f41a60e6f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Eric Meadows-Jönsson -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAM_eapjWF%3DY0cC7aOfJv6kQqNADU9b6WbsLXoQy-uk9juUO%2B3w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.