diff --git a/.gitignore b/.gitignore index 104d05318f3..5d05699cf60 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ package-lock.json .vscode/* !.vscode/settings.json !.vscode/extensions.json +!.vscode/tasks.json # Misc _sass/dist diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000000..a6c82c0816a --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,62 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Build (Jekyll)", + "type": "shell", + "command": "bundle", + "args": [ + "exec", + "jekyll", + "build" + ], + "problemMatcher": [] + }, + { + "label": "Build (NodeJS)", + "type": "shell", + "command": "npm", + "args": [ + "run", + "build" + ], + "problemMatcher": [] + }, + { + "label": "Start watch (Jekyll)", + "type": "shell", + "command": "bundle", + "args": [ + "exec", + "jekyll", + "serve", + "--force_polling", + "--livereload" + ], + "problemMatcher": [] + }, + { + "label": "Start watch (NodeJS)", + "type": "shell", + "command": "npm", + "args": [ + "run", + "watch:js" + ], + "problemMatcher": [] + }, + { + "label": "Start watch (Jekyll + NodeJS)", + "dependsOn": [ + "Start watch (NodeJS)", + "Start watch (Jekyll)" + ], + "group": { + "kind": "build", + "isDefault": true + } + } + ] +}