diff --git a/demos/gallery/.vscode/tasks.json b/demos/gallery/.vscode/tasks.json index e734416fad..120545d06c 100644 --- a/demos/gallery/.vscode/tasks.json +++ b/demos/gallery/.vscode/tasks.json @@ -1,15 +1,36 @@ { "version": "2.0.0", "tasks": [ + { + "label": "gen-types-watch", + "type": "npm", + "script": "gen-types-watch", + "problemMatcher": [ + "$tsc-watch" + ], + "presentation": { + "group": "group-build" + } + }, + { + "label": "bundle-watch", + "type": "npm", + "script": "bundle-watch", + "problemMatcher": [], + "presentation": { + "group": "group-build" + } + }, { "label": "build", - "type": "shell", - "command": "npm run dev", + "dependsOn": [ + "gen-types-watch", + "bundle-watch", + ], "group": { "kind": "build", "isDefault": true - }, - "problemMatcher": [] + } } ] } \ No newline at end of file diff --git a/demos/gallery/index.html b/demos/gallery/index.html index f3cfe7cec9..ce8863467b 100644 --- a/demos/gallery/index.html +++ b/demos/gallery/index.html @@ -11,7 +11,12 @@
- +