8000 reorder steps to build, display, run · github/codespaces-react@668ae60 · GitHub
[go: up one dir, main page]

Skip to content

Commit 668ae60

Browse files
authored
reorder steps to build, display, run
1 parent 3b377b6 commit 668ae60

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.devcontainer/devcontainer.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
{
2+
"hostRequirements": {"cpus": 4},
3+
4+
"onCreateCommand": "npm install && npm run build",
5+
"postCreateCommand": "",
6+
7+
"customizations": {
8+
"codespaces": {
9+
"openFiles": ["src/App.js"]
10+
}
11+
},
12+
213
"postAttachCommand": {
314
"server": "npm start",
415
},
@@ -8,14 +19,5 @@
819
"label": "Application",
920
"onAutoForward": "openPreview"
1021
}
11-
},
12-
13-
"customizations": {
14-
"codespaces": {
15-
"openFiles": ["src/App.js"]
16-
}
17-
},
18-
"onCreateCommand": "npm install && npm run build",
19-
"postCreateCommand": "",
20-
"hostRequirements": {"cpus": 4}
22+
}
2123
}

0 commit comments

Comments
 (0)
0