add task for previewing site

This commit is contained in:
Kaan Barmore-Genç 2022-06-01 17:12:01 -04:00
parent 2fd5105446
commit 8dbc166f7f

View file

@ -3,6 +3,15 @@
// for the documentation about the tasks.json format // for the documentation about the tasks.json format
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{
"label": "preview site",
"type": "shell",
"command": "dendron publish dev",
"options": {
"cwd": "${workspaceFolder}/../"
},
"problemMatcher": []
},
{ {
"label": "build site", "label": "build site",
"type": "shell", "type": "shell",
@ -18,8 +27,10 @@
"options": { "options": {
"cwd": "${workspaceFolder}/../" "cwd": "${workspaceFolder}/../"
}, },
"dependsOn": ["build site"], "dependsOn": [
"build site"
],
"problemMatcher": [] "problemMatcher": []
}, }
] ]
} }