46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"tasks": [
|
|
{
|
|
"label": "Run build Script",
|
|
"type": "shell",
|
|
"command": "${workspaceFolder}/.venv/bin/python",
|
|
"args": ["src/build.py"],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Watch Styles",
|
|
"type": "shell",
|
|
"command": "sass",
|
|
"args": ["--watch", "styles:static/css"],
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"pattern": {
|
|
"regexp": "^.*$",
|
|
"file": 1,
|
|
"location": 2,
|
|
"message": 3
|
|
},
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": "^.*Watching.*$",
|
|
"endsPattern": "^.*Watching.*$"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"label": "Run debug server",
|
|
"type": "shell",
|
|
"command": "${workspaceFolder}/.venv/bin/python",
|
|
"args": ["src/debug_server.py"],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
}
|
|
|
|
]
|
|
}
|