diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 97bc8ce10502..34aededcd854 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,16 @@ { "name": "TypeScript Website codespace", "dockerFile": "Dockerfile", + "features": { + "ghcr.io/devcontainers/features/sshd:1": {} + }, + + // Pre-fetch packages + "updateContentCommand": "pnpm fetch", + // Might as well get started on this right away + "postCreateCommand": "pnpm install && pnpm bootstrap", + // Don't block editor startup on fetching packages + "waitFor": "onCreateCommand", // Set *default* container specific settings.json values on container create. "settings": {