Skip to content

.env is only loaded from the directory containing it #49

@cjorge-graphops

Description

@cjorge-graphops

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    meta:triagedThis issue has been triaged (has a good description, as well as labels for priority, size and type)p2Medium prioritysize:smallSmalltype:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions