GabiGrin / vscode-auto-run-command

Run a vscode command when it starts. Made to run wallaby.js automatically when a project is opened
https://marketplace.visualstudio.com/items?itemName=gabrielgrinberg.auto-run-command#review-details
MIT License
23 stars 15 forks source link

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

Open topo-con opened 6 years ago

topo-con commented 6 years ago

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 commented 3 years ago
"command": "workbench.action.tasks.runTask <task_name>",

Added in #11