Skip to content

Commit ac91dac

Browse files
committed
update devcontainer
to start hugo server on each load
1 parent d3db164 commit ac91dac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,7 @@
2525

2626
// You can use go mod instead
2727
"postCreateCommand": "git submodule update --init",
28+
29+
// This will automatically start the Hugo server on Codespaces launch
30+
"postStartCommand": "hugo server --bind 0.0.0.0 --baseURL=http://localhost:1313/"
2831
}

0 commit comments

Comments
 (0)