tasks.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. // See https://go.microsoft.com/fwlink/?LinkId=733558
  2. // for the documentation about the tasks.json format
  3. {
  4. "version": "2.0.0",
  5. "tasks": [
  6. {
  7. "label": "watch",
  8. "dependsOn": ["watch:webview", "watch:bundle", "watch:tsc"],
  9. "presentation": {
  10. "reveal": "never"
  11. },
  12. "group": {
  13. "kind": "build",
  14. "isDefault": true
  15. }
  16. },
  17. {
  18. "label": "watch:webview",
  19. "type": "shell",
  20. "command": "pnpm --filter @roo-code/vscode-webview dev",
  21. "group": "build",
  22. "problemMatcher": {
  23. "owner": "vite",
  24. "pattern": {
  25. "regexp": "^$"
  26. },
  27. "background": {
  28. "activeOnStart": true,
  29. "beginsPattern": ".*VITE.*",
  30. "endsPattern": ".*Local:.*"
  31. }
  32. },
  33. "isBackground": true,
  34. "presentation": {
  35. "group": "watch",
  36. "reveal": "always"
  37. }
  38. },
  39. {
  40. "label": "watch:bundle",
  41. "type": "shell",
  42. "command": "npx turbo watch:bundle",
  43. "group": "build",
  44. "problemMatcher": {
  45. "owner": "esbuild",
  46. "pattern": {
  47. "regexp": "^$"
  48. },
  49. "background": {
  50. "activeOnStart": true,
  51. "beginsPattern": "esbuild-problem-matcher#onStart",
  52. "endsPattern": "esbuild-problem-matcher#onEnd"
  53. }
  54. },
  55. "isBackground": true,
  56. "presentation": {
  57. "group": "watch",
  58. "reveal": "always"
  59. }
  60. },
  61. {
  62. "label": "watch:tsc",
  63. "type": "shell",
  64. "command": "npx turbo watch:tsc",
  65. "group": "build",
  66. "problemMatcher": "$tsc-watch",
  67. "isBackground": true,
  68. "presentation": {
  69. "group": "watch",
  70. "reveal": "always"
  71. }
  72. }
  73. ]
  74. }