You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .devcontainer/devcontainer.json
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,12 @@
25
25
}
26
26
},
27
27
"forwardPorts": [1313],
28
+
"portsAttributes": {
29
+
"1313": {
30
+
"label": "Hugo Server",
31
+
"onAutoForward": "openBrowser"
32
+
}
33
+
},
28
34
"remoteUser": "vscode",
29
35
"postCreateCommand": "npm install; cd /tmp && wget -O hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.133.1/hugo_extended_0.133.1_linux-amd64.deb && sudo dpkg -i hugo.deb && rm hugo.deb && npm init -y && npm install hugo-bin@latest && hugo version && echo 'Hugo server ready to run! Use the Run and Debug view to start the server.'"
0 commit comments