8000 Merge pull request #9 from github/joshaber/update-lifecycle · github/codespaces-react@c059d38 · GitHub
[go: up one dir, main page]

Skip to content

Commit c059d38

Browse files
authored
Merge pull request #9 from github/joshaber/update-lifecycle
Update lifecycle scripts
2 parents c2c09b3 + 51a0283 commit c059d38

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.devcontainer/devcontainer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"hostRequirements": {"cpus": 4},
3-
4-
"onCreat 8000 eCommand": "npm install && npm run build",
3+
4+
"waitFor": "onCreateCommand",
5+
"updateContentCommand": "npm install",
56
"postCreateCommand": "",
6-
7+
"postAttachCommand": {
8+
"server": "npm start",
9+
},
10+
711
"customizations": {
812
"codespaces": {
913
"openFiles": ["src/App.js"]
1014
}
1115
},
12-
13-
"postAttachCommand": {
14-
"server": "npm start",
15-
},
1616

1717
"portsAttributes": {
1818
"3000": {

0 commit comments

Comments
 (0)
2925
0