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
"version": "2.0.0",
"tasks": [
{
"label": "preview site",
"type": "shell",
"command": "dendron publish dev",
"options": {
"cwd": "${workspaceFolder}/../"
},
"problemMatcher": []
},
{
"label": "build site",
"type": "shell",
@ -18,8 +27,10 @@
"options": {
"cwd": "${workspaceFolder}/../"
},
"dependsOn": ["build site"],
"dependsOn": [
"build site"
],
"problemMatcher": []
},
}
]
}