Refactor some vscode tasks and add doc dependency.

This commit is contained in:
Anand Patel
2024-02-29 01:23:11 +00:00
parent 5ccc8d12f0
commit 061f874f45

7
.vscode/tasks.json vendored
View File

@@ -12,10 +12,14 @@
"command": "python3 manage.py collectstatic",
"dependsOn": ["Yarn Build"],
},
{
"label": "Setup Dev Server",
"dependsOn": ["Run Migrations", "Yarn Build"],
},
{
"label": "Run Dev Server",
"type": "shell",
"dependsOn": ["Run Migrations", "Yarn Build"],
"dependsOn": ["Setup Dev Server"],
"command": "python3 manage.py runserver",
},
{
@@ -65,6 +69,7 @@
"label": "Serve Documentation",
"type": "shell",
"command": "mkdocs serve",
"dependsOn": ["Setup Documentation Dependencies"],
}
]
}