Spaces:
Sleeping
Sleeping
Ming Wang commited on
Update postStartCommand to include git pull
Browse files
.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": [
|