Skip to content

Commit 3495173

Browse files
committed
Add VSCode launch configurations.
1 parent 487e18f commit 3495173

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

.vscode/launch.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "pwa-msedge",
9+
"request": "launch",
10+
"name": "Launch Edge",
11+
"url": "http://localhost:4000",
12+
"webRoot": "${workspaceFolder}",
13+
"preLaunchTask": "jekyll serve"
14+
},
15+
{
16+
"name": "Launch Chrome",
17+
"request": "launch",
18+
"type": "chrome",
19+
"url": "http://localhost:4000",
20+
"webRoot": "${workspaceFolder}",
21+
"preLaunchTask": "jekyll serve"
22+
}
23+
]
24+
}

.vscode/tasks.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"label": "bundle install",
8+
"type": "shell",
9+
"command": "bundle install",
10+
"problemMatcher": [],
11+
"isBackground": false
12+
},
13+
{
14+
"label": "jekyll serve",
15+
"type": "shell",
16+
"command": "bundle exec jekyll serve",
17+
"isBackground": true,
18+
"dependsOn": [
19+
"bundle install"
20+
],
21+
"problemMatcher": {
22+
"owner": "jerkyll",
23+
"pattern": {
24+
"regexp": ""
25+
},
26+
"background": {
27+
"activeOnStart": true,
28+
"beginsPattern": ".*",
29+
"endsPattern": "^.*Server running.*"
30+
}
31+
}
32+
}
33+
]
34+
}

0 commit comments

Comments
 (0)