Skip to content

Commit

Permalink
Sorting workspaces (#21)
Browse files Browse the repository at this point in the history
* add launch to root

* Launch properly

* updated root vscode
  • Loading branch information
RossBugginsNHS authored Jun 7, 2024
1 parent 5a778e9 commit 74dc066
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 10 deletions.
16 changes: 16 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "ROOT Debug Web CMS",
"request": "launch",
"runtimeArgs": ["run-script", "debug"],
"runtimeExecutable": "npm",
"skipFiles": ["<node_internals>/**"],
"type": "node",
"preLaunchTask": "root-stop-already-running",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}/docs"
}
]
}
13 changes: 13 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "root-stop-already-running",
"options": {
"cwd": "${workspaceFolder}/docs"
},
"command": "kill $(lsof -ti :4000); exit 0;",
"type": "shell"
}
]
}
10 changes: 7 additions & 3 deletions docs/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
"version": "0.2.0",
"configurations": [
{
"name": "Debug Web CMS",
"request": "launch",
"runtimeArgs": ["run-script", "debug"],
"runtimeExecutable": "npm",
"skipFiles": ["<node_internals>/**"],
"type": "node",
"request": "attach",
"name": "Attach",
"preLaunchTask": "jekyll"
"preLaunchTask": "stop-already-running",
"console": "integratedTerminal"
}
]
}
6 changes: 3 additions & 3 deletions docs/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"version": "2.0.0",
"tasks": [
{
"label": "jekyll",
"label": "stop-already-running",
"options": {
"cwd": "${workspaceFolder}"
},
"command": "make debug",
},
"command": "kill $(lsof -ti :4000); exit 0;",
"type": "shell"
}
]
Expand Down
4 changes: 0 additions & 4 deletions docs/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ nav_order: 1
permalink: /
---

Something I'm testing here.

Something else here.

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.

## Lorem ipsum dolor sit amet
Expand Down

0 comments on commit 74dc066

Please sign in to comment.