tasks.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. // See https://go.microsoft.com/fwlink/?LinkId=733558
  3. // for the documentation about the tasks.json format
  4. "version": "2.0.0",
  5. "command": "gulp",
  6. "args": [],
  7. "type": "shell",
  8. "options": {
  9. "cwd": "${workspaceRoot}/Tools/Gulp"
  10. },
  11. "presentation": {
  12. "echo": true,
  13. "reveal": "always",
  14. "focus": false,
  15. "panel": "shared"
  16. },
  17. "tasks": [
  18. {
  19. "label": "run",
  20. "group": {
  21. "kind": "build",
  22. "isDefault": true
  23. },
  24. "isBackground": true,
  25. "problemMatcher": {
  26. "owner": "typescript",
  27. "fileLocation": "relative",
  28. "pattern": {
  29. "regexp": "^([^\\s].*)\\((\\d+|\\,\\d+|\\d+,\\d+,\\d+,\\d+)\\):\\s+(error|warning|info)\\s+(TS\\d+)\\s*:\\s*(.*)$",
  30. "file": 1,
  31. "location": 2,
  32. "severity": 3,
  33. "code": 4,
  34. "message": 5
  35. },
  36. "background": {
  37. "activeOnStart": true,
  38. "beginsPattern": "Starting \\'watchCore\\'",
  39. "endsPattern": "Watching for file changes"
  40. }
  41. }
  42. },
  43. {
  44. "label": "serve-viewer",
  45. "type": "npm",
  46. "script": "start:server",
  47. "path": "Viewer/",
  48. "problemMatcher": [
  49. {
  50. "owner": "webpack-dev-server",
  51. "pattern": {
  52. "regexp": "^([^\\s].*)\\((\\d+|\\,\\d+|\\d+,\\d+,\\d+,\\d+)\\):\\s+(error|warning|info)\\s+(TS\\d+)\\s*:\\s*(.*)$",
  53. "file": 1,
  54. "location": 2,
  55. "severity": 3,
  56. "code": 4,
  57. "message": 5
  58. },
  59. "background": {
  60. "activeOnStart": true,
  61. "beginsPattern": "Project is running at",
  62. "endsPattern": "Compiled successfully."
  63. }
  64. }
  65. ],
  66. "isBackground": true
  67. }
  68. ]
  69. }