.env is only loaded from the directory containing it #49
Labels
meta:triaged
This issue has been triaged (has a good description, as well as labels for priority, size and type)
p2
Medium priority
size:small
Small
type:bug
Something isn't working
On our .env we set TASK_X_REMOTE_TASKFILES=1, which is required for task to work with remote files. But this env var is only loaded by task when executed from the top-level directory containing it, which means invoking task from any subdirectory greets us with:
task: Remote taskfiles are not enabled. You can read more about this experiment and how to enable it at https://taskfile.dev/experiments/remote-taskfiles
We need to improve this (even if by documenting / advising on a path for local shell setup with that env var)
The text was updated successfully, but these errors were encountered: