From 819d05a9caa6f0e99b546aec420fea824cd36926 Mon Sep 17 00:00:00 2001 From: Tobias Fenster Date: Tue, 1 Mar 2022 22:20:58 +0000 Subject: [PATCH] add npm on init --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 632e8dea..e064f1bb 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -34,7 +34,7 @@ 1313 ], // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "git submodule update --init --recursive", + "postCreateCommand": "git submodule update --init --recursive --depth 1 && npm i", // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "node", "features": {