Run task for VS Code (#1361)

* Add VS Code task to run dashboard

* Includ VS Code tasks in git

* Set problemMatcher to none
This commit is contained in:
gitolicious 2020-12-13 20:24:26 +01:00 committed by GitHub
parent 039810eef3
commit 7afe202e20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

3
.gitignore vendored
View file

@ -81,7 +81,8 @@ venv.bak/
.pioenvs .pioenvs
.piolibdeps .piolibdeps
.pio .pio
.vscode .vscode/
!.vscode/tasks.json
CMakeListsPrivate.txt CMakeListsPrivate.txt
CMakeLists.txt CMakeLists.txt

11
.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,11 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "run",
"type": "shell",
"command": "python3 -m esphome config dashboard",
"problemMatcher": []
}
]
}