Skip to content

Instantly share code, notes, and snippets.

@edjw
Last active June 12, 2024 20:21
Show Gist options
  • Save edjw/4bade08d7d97a9143472394c00e16e2e to your computer and use it in GitHub Desktop.
Save edjw/4bade08d7d97a9143472394c00e16e2e to your computer and use it in GitHub Desktop.
Autostart Vite in VSCode
// // .vscode/tasks.json
{
"version": "2.0.0",
"tasks": [
{
"label": "Run Vite",
"type": "shell",
"command": "pnpm run dev",
"presentation": {
"reveal": "silent",
"panel": "new",
},
"runOptions": {
"runOn": "folderOpen",
"instanceLimit": 1
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment