diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 3d24c25fb..018d04741 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -6,6 +6,11 @@ "type": "shell", "command": "python3 manage.py migrate", }, + { + "label": "Collect Static Files", + "type": "shell", + "command": "python3 manage.py collectstatic", + }, { "label": "Run Dev Server", "type": "shell", @@ -43,6 +48,7 @@ "label": "Pytest", "type": "shell", "command": "python3 -m pytest cookbook/tests", + "dependsOn": ["Run Migrations", "Collect Static Files"], "group": "test", } ]