Skip to content

Commit 0111bf3

Browse files
Devcontainer debugging
1 parent 1386d85 commit 0111bf3

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.devcontainer/devcontainer.json

+5-6
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,15 @@
77
"vscode": {
88
"settings": {
99
"terminal.integrated.defaultProfile.linux": "zsh"
10-
}
11-
},
10+
},
1211
"extensions": [
1312
"ms-azuretools.vscode-docker",
1413
"vscode.git",
1514
"golang.go"
1615
]
16+
}
1717
},
18-
"mounts": [
19-
"source=./site,target=/site"
20-
],
21-
"postCreateCommand": "hugo server --bind 0.0.0.0 --disableFastRender"
18+
"forwardPorts": [1313],
19+
"workspaceFolder": "/workspaces/commitconfirmed.github.io/site",
20+
"postCreateCommand": "git submodule update --init --recursive && sudo hugo server --bind 0.0.0.0 --disableFastRender"
2221
}

0 commit comments

Comments
 (0)