Skip to content

Commit

Permalink
perf: run postStartCommands in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
monotykamary committed Oct 11, 2023
1 parent 82c53e2 commit dbaf9a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 4 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
"postCreateCommand": "./.devcontainer/postCreateCommand.sh",

// Use 'postStartCommand' to run commands after the container starts.
"postStartCommand": "./.devcontainer/postStartCommand.sh",
"postStartCommand": {
"safeDir": "git config --global --add safe.directory ${containerWorkspaceFolder}",
"updateIndex": "git update-index --assume-unchanged .npmrc"
},

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node"
Expand Down
8 changes: 0 additions & 8 deletions .devcontainer/postStartCommand.sh

This file was deleted.

0 comments on commit dbaf9a1

Please sign in to comment.