dotenv files are loaded before task dependencies are ready #1381
Labels
area: env
Changes related to environment variables.
type: enhancement
A change to an existing feature or functionality.
Consider the following example where
make-env
task produces a.env
file andmy-task
task depends onmake-env
and loads.env
. I would expect to seeMY_VAR = MY_VALUE
after running the task my-task command, but it isMY_VAR =
instead. It seems like it loads the dotenv file first (but does not fail because the file does not exist yet?) and then executes all dependencies.The text was updated successfully, but these errors were encountered: