1

We are working on multiple typescript projects using vscode, and we are not sure whats the best with to work with them, right now we have a tasks.json configured like this:

{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "0.1.0",
    "command": "./node_modules/.bin/tsc",
    "windows": {
        "command": "\"./node_modules/.bin/tsc\""
    },
    "isShellCommand": true,
    "args": ["-w", "-p", "."],
    "showOutput": "always",
    "problemMatcher": "$tsc-watch"
}

But doing it this way we have to start the task with cmd+shift+b every time we open a project.

Is there a way to have this started automatically?

It doesn't have to be using task.json it can be something else.

1 Answer 1

1

Not out of the box, but you can use the plugin Blade Runner which will execute your build command every time you open a folder.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.