diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8ed2075c2..386ae89eb 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,18 +1,18 @@ { "hostRequirements": {"cpus": 4}, - - "onCreateCommand": "npm install && npm run build", + + "waitFor": "onCreateCommand", + "updateContentCommand": "npm install", "postCreateCommand": "", - + "postAttachCommand": { + "server": "npm start", + }, + "customizations": { "codespaces": { "openFiles": ["src/App.js"] } }, - - "postAttachCommand": { - "server": "npm start", - }, "portsAttributes": { "3000": {