Skip to content

Commit

Permalink
feat(vscode): pocketbase et le serveur de dev se lancent automatiquement
Browse files Browse the repository at this point in the history
  • Loading branch information
bachrc committed Oct 20, 2024
1 parent 55bd813 commit 36b66c7
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 1 deletion.
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
"editor.formatOnSave": true,
"deno.enable": true,
"svelte.plugin.svelte.defaultScriptLanguage": "ts",
"dev.containers.experimentalLockfile": true,
"tailwindDocs.useSimpleBrowser": false
}
51 changes: 51 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Bash",
"type": "process",
"command": "/bin/bash",
"isBackground": true, // removes the infinite spinner
"problemMatcher": [],
"presentation": {
"group": "main_tasks",
"reveal": "always",
"panel": "new",
"echo": false // silence "Executing task ..."
},
"runOptions": {
"runOn": "folderOpen"
}
},
{
"label": "Deno watch",
"type": "shell",
"command": "deno task dev",
"isBackground": true,
"presentation": {
"group": "main_tasks",
"reveal": "always",
"panel": "new",
"echo": false // silence "Executing task ..."
},
"runOptions": {
"runOn": "folderOpen"
}
},
{
"label": "Pocketbase",
"type": "shell",
"command": "pocketbase serve",
"isBackground": true,
"presentation": {
"reveal": "never",
"panel": "new",
"showReuseMessage": false,
"echo": false // silence "Executing task ..."
},
"runOptions": {
"runOn": "folderOpen"
}
}
]
}

0 comments on commit 36b66c7

Please sign in to comment.