From 5de40bea316fc218648ce192d7ec06a09768c8ac Mon Sep 17 00:00:00 2001 From: Tai Groot Date: Thu, 19 Oct 2023 18:41:18 +0000 Subject: [PATCH] fix devcontainer --- .devcontainer/devcontainer.json | 33 ++++++++++++++++----------------- .devcontainer/setup.sh | 3 +-- 2 files changed, 17 insertions(+), 19 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index b0d24a7..b1061ef 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -10,23 +10,22 @@ "customizations": { "vscode": { "extensions": [ - "budparr.language-hugo-vscode", - "tamasfe.even-better-toml", - "esbenp.prettier-vscode", - "dbaeumer.vscode-eslint", - "bradlc.vscode-tailwindcss", - "bourhaouta.tailwindshades", - "austenc.tailwind-docs", - "GitHub.copilot", - "GitHub.copilot-chat", - "github.vscode-github-actions", - "ms-vscode.makefile-tools", - "vscodevim.vim", - "ms-vscode-remote.remote-containers" - ] + "budparr.language-hugo-vscode", + "tamasfe.even-better-toml", + "esbenp.prettier-vscode", + "dbaeumer.vscode-eslint", + "bradlc.vscode-tailwindcss", + "bourhaouta.tailwindshades", + "austenc.tailwind-docs", + "GitHub.copilot", + "GitHub.copilot-chat", + "github.vscode-github-actions", + "ms-vscode.makefile-tools", + "vscodevim.vim", + "ms-vscode-remote.remote-containers" + ] }, - "codespaces": { - } + "codespaces": {} }, "hostRequirements": { "cpus": 2 @@ -36,7 +35,7 @@ "updateContentCommand": "", "postCreateCommand": "", "postAttachCommand": { - "server": "source /etc/environment && yarn dev" + "server": "source /etc/environment && hugo server" }, "portsAttributes": { diff --git a/.devcontainer/setup.sh b/.devcontainer/setup.sh index d5db511..f0db8a6 100755 --- a/.devcontainer/setup.sh +++ b/.devcontainer/setup.sh @@ -18,5 +18,4 @@ source ~/.bashrc go version popd hugo version -yarn project-setup -yarn install +yarn install \ No newline at end of file