Skip to content

Clean up created logs on failed markbind serve #2767

@gerteck

Description

@gerteck

Please confirm that you have searched existing issues in the repo

Yes, I have searched the existing issues

Any related issues?

No response

Tell us about your environment

MacOs

MarkBind version

6.2.0

Describe the bug and the steps to reproduce it

When running markbind serve on a non valid folder, it creates a directory with the log folder but it doesn't clean it up when exiting, so it produces some waste.

Screen.Recording.2026-01-02.at.4.14.39.AM.mov

Expected behavior

Either clean up or bring checking forward earlier.

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions