Ming Wang commited on
Commit
b09edc8
·
unverified ·
1 Parent(s): bff93ee

Update postStartCommand to include git pull

Browse files
Files changed (1) hide show
  1. .devcontainer/devcontainer.json +1 -1
.devcontainer/devcontainer.json CHANGED
@@ -11,7 +11,7 @@
11
  "memory": "8gb"
12
  },
13
  "updateContentCommand": "npm install -g @angular/cli && cd frontend && npm ci --prefer-offline --no-audit && cd ../backend && npm ci --prefer-offline --no-audit || true",
14
- "postStartCommand": "cd /workspaces/Zero-friction && npm run dev &",
15
  "customizations": {
16
  "vscode": {
17
  "extensions": [
 
11
  "memory": "8gb"
12
  },
13
  "updateContentCommand": "npm install -g @angular/cli && cd frontend && npm ci --prefer-offline --no-audit && cd ../backend && npm ci --prefer-offline --no-audit || true",
14
+ "postStartCommand": "cd /workspaces/Zero-friction && git pull origin main && cd frontend && npm ci --prefer-offline --no-audit && cd ../backend && npm ci --prefer-offline --no-audit || true && cd /workspaces/Zero-friction && npm run dev &",
15
  "customizations": {
16
  "vscode": {
17
  "extensions": [