Skip to content

Commit 74dc066

Browse files
Sorting workspaces (#21)
* add launch to root * Launch properly * updated root vscode
1 parent 5a778e9 commit 74dc066

File tree

5 files changed

+39
-10
lines changed

5 files changed

+39
-10
lines changed

.vscode/launch.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "ROOT Debug Web CMS",
6+
"request": "launch",
7+
"runtimeArgs": ["run-script", "debug"],
8+
"runtimeExecutable": "npm",
9+
"skipFiles": ["<node_internals>/**"],
10+
"type": "node",
11+
"preLaunchTask": "root-stop-already-running",
12+
"console": "integratedTerminal",
13+
"cwd": "${workspaceFolder}/docs"
14+
}
15+
]
16+
}

.vscode/tasks.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "root-stop-already-running",
6+
"options": {
7+
"cwd": "${workspaceFolder}/docs"
8+
},
9+
"command": "kill $(lsof -ti :4000); exit 0;",
10+
"type": "shell"
11+
}
12+
]
13+
}

docs/.vscode/launch.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
"version": "0.2.0",
33
"configurations": [
44
{
5+
"name": "Debug Web CMS",
6+
"request": "launch",
7+
"runtimeArgs": ["run-script", "debug"],
8+
"runtimeExecutable": "npm",
9+
"skipFiles": ["<node_internals>/**"],
510
"type": "node",
6-
"request": "attach",
7-
"name": "Attach",
8-
"preLaunchTask": "jekyll"
11+
"preLaunchTask": "stop-already-running",
12+
"console": "integratedTerminal"
913
}
1014
]
1115
}

docs/.vscode/tasks.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"version": "2.0.0",
33
"tasks": [
44
{
5-
"label": "jekyll",
5+
"label": "stop-already-running",
66
"options": {
77
"cwd": "${workspaceFolder}"
8-
},
9-
"command": "make debug",
8+
},
9+
"command": "kill $(lsof -ti :4000); exit 0;",
1010
"type": "shell"
1111
}
1212
]

docs/pages/index.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ nav_order: 1
99
permalink: /
1010
---
1111

12-
Something I'm testing here.
13-
14-
Something else here.
15-
1612
Convallis aenean et tortor at. Sagittis nisl rhoncus mattis rhoncus. Odio eu feugiat pretium nibh ipsum. Sit amet venenatis urna cursus eget. Aliquet nec ullamcorper sit amet risus nullam eget felis.
1713

1814
## Lorem ipsum dolor sit amet

0 commit comments

Comments
 (0)