add task for previewing site
This commit is contained in:
parent
2fd5105446
commit
8dbc166f7f
15
notes/.vscode/tasks.json
vendored
15
notes/.vscode/tasks.json
vendored
|
@ -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": []
|
||||||
},
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue