Skip to content

Commit 7e6b92d

Browse files
Copilotyuhattor
andcommitted
Fix Hugo execution in Codespaces
Co-authored-by: yuhattor <15963767+yuhattor@users.noreply.github.com>
1 parent 038ab43 commit 7e6b92d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121
},
2222
"forwardPorts": [1313],
2323
"remoteUser": "root",
24-
"postCreateCommand": "echo 'Hugo server ready to run! Use the Run and Debug view to start the server.'"
24+
"postCreateCommand": "which hugo && hugo version && echo 'Hugo server ready to run! Use the Run and Debug view to start the server.'"
2525
}

.vscode/launch.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"configurations": [
44
{
55
"name": "Hugo Server",
6-
"type": "node",
6+
"type": "shell",
77
"request": "launch",
8-
"runtimeExecutable": "hugo",
9-
"runtimeArgs": [
8+
"command": "hugo",
9+
"args": [
1010
"server",
1111
"--appendPort=false",
1212
"--baseURL=/",

0 commit comments

Comments
 (0)