Skip to content

:dotenv not updated during watch #2707

@butuzov

Description

@butuzov

Description

Tried to test some scripts functionality that uses Taskfile's loaded .env, but whenever i changed values in .env env vars wasn't available in scripts

Version

3.48

Operating system

macOS

Experiments Enabled

No response

Example Taskfile

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: envChanges related to environment variables.area: watcherChanges related to the Taskfile watcher.state: duplicateDuplicates another issue.state: needs triageWaiting to be triaged by a maintainer.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions