tasks.json 1.4 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": ["npm: dev", "npm: watch:tsc", "npm: watch:esbuild"],
  9. "presentation": {
  10. "reveal": "never"
  11. },
  12. "group": {
  13. "kind": "build",
  14. "isDefault": true
  15. }
  16. },
  17. {
  18. "label": "npm: dev",
  19. "type": "npm",
  20. "script": "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": "webview-ui",
  36. "reveal": "always"
  37. }
  38. },
  39. {
  40. "label": "npm: watch:esbuild",
  41. "type": "npm",
  42. "script": "watch:esbuild",
  43. "group": "build",
  44. "problemMatcher": {
  45. "owner": "esbuild",
  46. "pattern": {
  47. "regexp": "^$"
  48. },
  49. "background": {
  50. "activeOnStart": true,
  51. "beginsPattern": "\\[watch\\] build started",
  52. "endsPattern": "\\[watch\\] build finished"
  53. }
  54. },
  55. "isBackground": true,
  56. "presentation": {
  57. "group": "watch",
  58. "reveal": "always"
  59. }
  60. },
  61. {
  62. "label": "npm: watch:tsc",
  63. "type": "npm",
  64. "script": "watch:tsc",
  65. "group": "build",
  66. "problemMatcher": "$tsc-watch",
  67. "isBackground": true,
  68. "presentation": {
  69. "group": "watch",
  70. "reveal": "always"
  71. }
  72. }
  73. ]
  74. }