tasks.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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": "$esbuild-watch",
  45. "isBackground": true,
  46. "presentation": {
  47. "group": "watch",
  48. "reveal": "always"
  49. }
  50. },
  51. {
  52. "label": "npm: watch:tsc",
  53. "type": "npm",
  54. "script": "watch:tsc",
  55. "group": "build",
  56. "problemMatcher": "$tsc-watch",
  57. "isBackground": true,
  58. "presentation": {
  59. "group": "watch",
  60. "reveal": "always"
  61. }
  62. }
  63. ]
  64. }