-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
Editing the files e.g. index.typst crashes the program giving the following error but the index.typst file is present in the tree.
For eg: here I edited the index.typst file using neovim, and saved it. (I changed the embed title to "Mathematics Sheet" and it worked fine and showed the changes.) But, when I added = This is normal? as a heading and saved again, it crashed.
[watch] "./trees" "./assets"
Press Ctrl+C to stop watching.
[serve] miniserve v0.32.0
[serve] Bound to [::]:8080, 0.0.0.0:8080
[serve] Serving path /home/scientiac/Experiments/map/.cache/publish
[serve] Available at (non-exhaustive list):
[serve] http://127.0.0.1:8080
[serve] http://192.168.18.110:8080
[serve] http://[::1]:8080
[serve] http://[2001:df7:be80:53dc::1]:8080
[serve] http://[2001:df7:be80:53dc:30da:6dd2:b435:50a2]:8080
[serve]
[watch] Change: "/home/scientiac/Experiments/map/./trees/4913"
[watch] Change: "/home/scientiac/Experiments/map/./trees/index.typst"
[watch] Change: "/home/scientiac/Experiments/map/./trees/index.typst~"
[watch] Change: "/home/scientiac/Experiments/map/./trees/index.typst"
[watch] Change: "/home/scientiac/Experiments/map/./trees/index.typst~"
[watch] Change: "/home/scientiac/Experiments/map/./trees/index.typst"
[watch] Change: "/home/scientiac/Experiments/map/./trees/index.typst"
[watch] Change: "/home/scientiac/Experiments/map/./trees/4913"
Error: failed to compile site `/home/scientiac/Experiments/map`
Caused by:
Missing `index` section, please provide `index.md` or `index.typst`
Location:
src/compiler/state.rs:42:10
After the crash the miniserve or any server started for serving doesn't close. So, if I do kodama serve again it gives me the following error:
Press Ctrl+C to stop watching.
[serve] miniserve v0.32.0
[serve] Error: Tue, 30 Dec 2025 07:02:38 +0000 [ERROR] Failed to bind server to [::]:8080
[serve] Error: Tue, 30 Dec 2025 07:02:38 +0000 [ERROR] caused by: Address already in use (os error 98)
[serve] Error: Error: Failed to bind server to [::]:8080
[serve] Error: caused by: Address already in use (os error 98)
For which my current solution is to pkill miniserve then run kodama serve
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request