tasks.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // See https://go.microsoft.com/fwlink/?LinkId=733558
  2. // for the documentation about the tasks.json format
  3. // A task runner that calls a custom npm script that compiles the extension.
  4. {
  5. "version": "2.0.0",
  6. // we want to run npm
  7. "command": "npm",
  8. // we run the custom script "compile" as defined in package.json
  9. "args": ["run", "compile", "--loglevel", "silent"],
  10. // The tsc compiler is started in watching mode
  11. "isBackground": true,
  12. // use the standard tsc in watch mode problem matcher to find compile problems in the output.
  13. "problemMatcher": "$tsc-watch",
  14. "tasks": [
  15. {
  16. "label": "npm",
  17. "type": "shell",
  18. "command": "npm",
  19. "args": [
  20. "run",
  21. "compile",
  22. "--loglevel",
  23. "silent"
  24. ],
  25. "isBackground": true,
  26. "problemMatcher": "$tsc-watch",
  27. "group": {
  28. "_id": "build",
  29. "isDefault": false
  30. }
  31. }
  32. ]
  33. }