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

What is the command to run a VSCode Task? #21

Open
topo-con opened this issue Feb 4, 2018 · 1 comment
Open

What is the command to run a VSCode Task? #21

topo-con opened this issue Feb 4, 2018 · 1 comment

Comments

@topo-con
Copy link

topo-con commented Feb 4, 2018

I have a task that runs an npm script from a package.json in nodejs. Do you know what I can put in the command parameter that will kick off that task?
I have tried:
npm run - error (this will run in the terminal of vscode)
task. - error

I have a nodejs Express project and it would be nice to auto start the server when I open the folder.

Thanks

@baincd
Copy link

baincd commented Oct 3, 2021

"command": "workbench.action.tasks.runTask <task_name>",

Added in #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants