diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 69a02ca..d96d265 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -21,5 +21,6 @@ }, "mounts": [ "type=bind,source=/home/${localEnv:USER}/.ssh,target=/home/node/.ssh,readonly" - ] + ], + "forwardPorts": [8000] } diff --git a/package.json b/package.json index c185b55..c597d3a 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,8 @@ "build": "mkdocs build --clean", "markdownlint": "markdownlint-cli2 \"**/*.md\" \"!**/node_modules/**\"", "linkinator": "npm run build && linkinator site --recurse --silent --skip \"^(?!http://localhost)\"", - "test": "npm run markdownlint && npm run linkinator" + "test": "npm run markdownlint && npm run linkinator", + "serve": "mkdocs serve --dev-addr 0.0.0.0:8000" }, "devDependencies": { "linkinator": "^6.0.4",