From e79a527ac6b92d640b3cb677b9cb24339db93e40 Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Wed, 20 Feb 2019 12:57:40 +0100 Subject: [PATCH] vscode run on save setting --- .vscode/settings.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 90409c5..733ea1a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,14 @@ { "files.associations": { "**/templates/*.html": "django-html" + }, + "saveAndRun": { + "commands": [ + { + "match": "website/.*", + "cmd": "mark2web -in ${workspaceRoot}/website -out ${workspaceRoot}/html -create", + "silent": false + } + ] } } \ No newline at end of file