Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First Task Hidden After Second Task Added #7

Open
dillonKneeland opened this issue Jun 4, 2020 · 0 comments
Open

First Task Hidden After Second Task Added #7

dillonKneeland opened this issue Jun 4, 2020 · 0 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@dillonKneeland
Copy link
Owner

Issue copied from email from user:

Thanks for your Yarn Task Provider extension for VS Code. I am having a problem with the extension when I add 2 yarn tasks. Everything was working great until I added a 2nd yarn task. After doing so, the 1st task I configured could not be found.

Here is my tasks.json file contents. If I attempt to run the debugger "Debug Frontend-functional Tests", I get the error, "Could not find the task 'yarn-build-frontend-functional-tests". If I remove the 2nd task from tasks.json (yarn-build-creation-path), the task is found and run successfully.

Am I doing something wrong?

tasks.json:

{
    "version": "2.0.0",
    "tasks": [
        {
            "type": "yarn",
            "task": "build",
            "problemMatcher": [],
            "label": "yarn-build-frontend-functional-tests",
            "options": {
                "cwd": "packages/frontend-functional-tests",
            }
        },
        {
            "type": "yarn",
            "task": "build",
            "problemMatcher": [],
            "label": "yarn-build-creation-path",
            "options": {
                "cwd": "packages/creation-path",
            },
        }
    ]
}

Launch.json (excerpt):

        {
            "name": "Debug Frontend-functional tests",
            "type": "node",
            "request": "launch",
            "program": "${workspaceRoot}/node_modules/nightwatch/bin/runner.js",
            "runtimeExecutable": null,
            "args": ["--group", "functional-web-tests"],
            "cwd": "${workspaceRoot}/packages/frontend-functional-tests",
            "protocol": "inspector",
            "console": "integratedTerminal",
            "internalConsoleOptions": "neverOpen",
            "preLaunchTask": "yarn-build-frontend-functional-tests",
            "env": {
                "NODE_ENV": "development"
            },
        },

I will be looking into this in the coming week - Dillon K

@dillonKneeland dillonKneeland self-assigned this Jun 4, 2020
@dillonKneeland dillonKneeland added bug Something isn't working good first issue Good for newcomers labels Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant