Skip to content

Commit f2d98be

Browse files
authored
Add Command That Runs Before Codespace ShutsDown (#26)
Needed for readonly preview
1 parent a590d9d commit f2d98be

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
"tools": ".devcontainer/postStartCommand.sh",
1414
"welcome-mat": "echo Welcome to Spark!"
1515
},
16+
"customizations": {
17+
"codespaces": {
18+
"onStopCommand": "REVISION_NAME=spark-preview /usr/local/bin/deploy.sh"
19+
}
20+
},
1621
"forwardPorts": [
1722
4000,
1823
5000,

0 commit comments

Comments
 (0)