diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..cc8b847 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,16 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "ROOT Debug Web CMS", + "request": "launch", + "runtimeArgs": ["run-script", "debug"], + "runtimeExecutable": "npm", + "skipFiles": ["/**"], + "type": "node", + "preLaunchTask": "root-stop-already-running", + "console": "integratedTerminal", + "cwd": "${workspaceFolder}/docs" + } + ] +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..2da2bec --- /dev/null +++ b/.vscode/tasks.json @@ -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" + } + ] +} diff --git a/docs/.vscode/launch.json b/docs/.vscode/launch.json index 7a0ce95..15bfddd 100644 --- a/docs/.vscode/launch.json +++ b/docs/.vscode/launch.json @@ -2,10 +2,14 @@ "version": "0.2.0", "configurations": [ { + "name": "Debug Web CMS", + "request": "launch", + "runtimeArgs": ["run-script", "debug"], + "runtimeExecutable": "npm", + "skipFiles": ["/**"], "type": "node", - "request": "attach", - "name": "Attach", - "preLaunchTask": "jekyll" + "preLaunchTask": "stop-already-running", + "console": "integratedTerminal" } ] } diff --git a/docs/.vscode/tasks.json b/docs/.vscode/tasks.json index ba15193..fd80f47 100644 --- a/docs/.vscode/tasks.json +++ b/docs/.vscode/tasks.json @@ -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" } ] diff --git a/docs/pages/index.md b/docs/pages/index.md index 45f7463..ffe2219 100644 --- a/docs/pages/index.md +++ b/docs/pages/index.md @@ -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