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: CODESPACES.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,11 @@ When the Hugo server starts:
88
88
89
89
If you encounter any issues:
90
90
91
+
-**CSS not loading (assets loading from localhost:1313)**: This means the Codespace environment wasn't detected properly. Try these steps:
92
+
1. Stop the Hugo server (Ctrl+C in the terminal or stop debugging)
93
+
2. Run `.devcontainer/debug-codespaces.sh` in the terminal to check your environment
94
+
3. Make sure you see the "Running in Codespaces mode" message when starting Hugo
95
+
4. If the environment variables are not set, try rebuilding the container (see below)
91
96
-**Hugo server not starting**: Try restarting the Codespace by clicking on the menu in the bottom left corner and selecting "Codespaces: Stop Current Codespace" and then restarting it.
92
97
-**Changes not showing**: Make sure you've saved your files and that the Hugo server is running.
93
98
-**Port not forwarding**: Click the "Ports" tab at the bottom of the Codespace and make sure port 1313 is forwarded.
0 commit comments