Skip to content

Commit aba7fa0

Browse files
authored
Update devcontainer to include git autorefresh and npm start (#53568)
1 parent 11cbcc2 commit aba7fa0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
// Set *default* container specific settings.json values on container create.
2020
"settings": {
2121
"terminal.integrated.shell.linux": "/bin/bash",
22-
"cSpell.language": ",en"
22+
"cSpell.language": ",en",
23+
"git.autofetch": true
2324
},
2425
// Visual Studio Code extensions which help authoring for docs.github.com.
2526
"extensions": [
@@ -57,7 +58,7 @@
5758
},
5859

5960
// Use 'postCreateCommand' to run commands after the container is created.
60-
"postCreateCommand": "npm ci",
61+
"postCreateCommand": "npm ci && npm start",
6162

6263
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
6364
"remoteUser": "node",

0 commit comments

Comments
 (0)