From a4f8a51c57c11dd35e9dd6ebab9a7b7965d30a4e Mon Sep 17 00:00:00 2001 From: Warren Buckley Date: Mon, 14 Nov 2022 15:11:15 +0000 Subject: [PATCH] Trying Codespace prebuilds to use updateContentCommand that the docs refer to --- .devcontainer/devcontainer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a8d73e9304..2040a05912 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -34,9 +34,9 @@ // Use 'forwardPorts' to make a list of ports inside the container available locallAdd "forwardPorts": [9000, 5000, 25], - // Use OnCreateCommand to run commands after the container is created + // This is used in the prebuilds - so dotnet build (nuget restore and node stuff) is done - "onCreateCommand": "dotnet build umbraco.sln", + "updateContentCommand": "dotnet build umbraco.sln", // [Optional] To reuse of your local HTTPS dev cert: //