Skip to content

Commit af7c055

Browse files
Changes to devcontainer for codespaces (#17805)
* Changes to devcontainer for codespaces * Still run `npm start` Co-authored-by: James M. Greene <[email protected]>
1 parent 1d87a7e commit af7c055

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.devcontainer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
// For format details, see https://aka.ms/vscode-remote/devcontainer.json
33
{
44
"name": "docs.github.com",
5-
"service": "container-doc",
65
"settings": {
76
"terminal.integrated.shell.linux": "/bin/bash",
87
"cSpell.language": ",en"
98
},
109
// Install pre-requisites, and start to serve docs.github.com locally
11-
"postCreateCommand": "npm install && npm start",
10+
"postCreateCommand": "npm ci && npm run build && npm start",
1211
"forwardPorts": [4000],
1312
// Visual Studio Code extensions which help authoring for docs.github.com.
1413
"extensions": [

0 commit comments

Comments
 (0)