We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04d5509 commit e888539Copy full SHA for e888539
.devcontainer/devcontainer.json
@@ -12,17 +12,22 @@
12
"forwardPorts": [
13
3000
14
],
15
- // Use 'postCreateCommand' to run commands after the container is created.
+ "portsAttributes": {
16
+ "3000": {
17
+ "label": "Blog",
18
+ "onAutoForward": "openPreview"
19
+ }
20
+ },
21
"onCreateCommand": "pnpm self-update",
- "postCreateCommand": "pnpm install --config.confirmModulesPurge=false",
-// "postStartCommand": "pnpm dev",
22
+ "updateContentCommand": "pnpm install --config.confirmModulesPurge=false",
23
+ "postAttachCommand": "pnpm dev",
24
25
// Configure tool-specific properties.
26
"customizations": {
27
"jetbrains": {
- "backend": "Rider",
28
+ "backend": "Rider"
29
}
- },
30
31
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
32
// "remoteUser": "root"
33
0 commit comments