Skip to content

No tasks found on initial run #242

@cecheta

Description

@cecheta

The first time trying to run a task after starting VS Code, the extension does not find any tasks. If you try again, it then works.

I believe this is because the initial refresh() is not awaited.

taskExtension.refresh();

The first time I run "Tasks: Run Task" and select "taskfile", no tasks are found

Image

If I then go back and select "taskfile" again, I see the list of tasks.

Image
  • Task version: 3.48.0
  • Operating System: Ubuntu 24.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    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