summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Delfino <bruno.delfino1995@gmail.com>2023-05-03 05:09:40 -0300
committerGitHub <noreply@github.com>2023-05-03 10:09:40 +0200
commitbbfeda803c44c87cda658d0664cb1264439612dd (patch)
tree9306a9109f2330846df5b46431f5be9a6bddca7d
parent91e51f70ecd628350dd3b88d1f875d4ba61f4a70 (diff)
downloadelixir-bbfeda803c44c87cda658d0664cb1264439612dd.tar.gz
Add note on relation between build and environment (#12543)
-rw-r--r--lib/mix/lib/mix.ex7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/mix/lib/mix.ex b/lib/mix/lib/mix.ex
index 2879249c4..d5600aacc 100644
--- a/lib/mix/lib/mix.ex
+++ b/lib/mix/lib/mix.ex
@@ -176,8 +176,11 @@ defmodule Mix do
machine before your code compiles. This can be an issue if the machine
compiling your code does not have access to all environment variables
used to run your code, as loading the config above will fail due to the
- missing environment variable. Luckily, Mix also provides runtime
- configuration, which should be preferred and we will see next.
+ missing environment variable. Furthermore, even if the environment variable
+ is set, changing the environment variable will require a full recompilation
+ of your application by calling `mix compile --force` (otherwise your project
+ won't start). Luckily, Mix also provides runtime configuration, which is
+ preferred in such cases and we will see next.
### Runtime configuration