tasks.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "version": "2.0.0",
  3. "tasks": [
  4. {
  5. "label": "Start Backend",
  6. "type": "shell",
  7. "command": "cd ${workspaceFolder}/table_line_generator/backend && uvicorn main:app --reload --host 0.0.0.0 --port 8000",
  8. "isBackground": true,
  9. "problemMatcher": {
  10. "pattern": {
  11. "regexp": "^.*$",
  12. "file": 1,
  13. "location": 2,
  14. "message": 3
  15. },
  16. "background": {
  17. "activeOnStart": true,
  18. "beginsPattern": "^.*Uvicorn running.*",
  19. "endsPattern": "^.*Application startup complete.*"
  20. }
  21. }
  22. },
  23. {
  24. "label": "Start Frontend",
  25. "type": "shell",
  26. "command": "cd ${workspaceFolder}/table_line_generator/frontend && npm run dev",
  27. "isBackground": true,
  28. "problemMatcher": {
  29. "pattern": {
  30. "regexp": "^.*$"
  31. },
  32. "background": {
  33. "activeOnStart": true,
  34. "beginsPattern": "^.*VITE.*",
  35. "endsPattern": "^.*Local:.*"
  36. }
  37. }
  38. },
  39. {
  40. "label": "table_line_generator_BothServers",
  41. "dependsOn": [
  42. "Start Backend",
  43. "Start Frontend"
  44. ],
  45. "problemMatcher": []
  46. }
  47. ]
  48. }