Skip to content
This repository was archived by the owner on Sep 7, 2023. It is now read-only.

Commit 01bbc05

Browse files
authored
ci(devcontainer): add port attributes (#852)
1 parent 38532df commit 01bbc05

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@
1515
}
1616
},
1717
"forwardPorts": [3000],
18+
"portsAttributes": {
19+
"3000": {
20+
"label": "Nuxt Development Server",
21+
"onAutoForward": "openPreview"
22+
}
23+
},
24+
"otherPortsAttributes": {
25+
"onAutoForward": "ignore"
26+
},
1827
"postCreateCommand": "npm install",
1928
"remoteUser": "node"
2029
}

0 commit comments

Comments
 (0)