Skip to content

Commit

Permalink
make the UI dev server run prior to debugging in vs code
Browse files Browse the repository at this point in the history
  • Loading branch information
Qix- authored and gitbutler-client committed Dec 5, 2023
1 parent 5c739aa commit edde0d4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
!.vscode/extensions.json
!.vscode/settings.json
!.vscode/launch.json
!.vscode/tasks.json
.idea

.DS_Store
3 changes: 2 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"name": "GitButler Dev",
"program": "${workspaceFolder}/target/debug/GitButler Dev",
"args": [],
"cwd": "${workspaceFolder}"
"cwd": "${workspaceFolder}",
"preLaunchTask": "ui:dev",
}
]
}
14 changes: 14 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "ui:dev",
"type": "shell",
"isBackground": true,
"command": "pnpm",
"args": [
"dev"
],
},
]
}

0 comments on commit edde0d4

Please sign in to comment.