Skip to content

Live-reload for -outfile mode #2

Description

@scott

Add watch-mode support for users writing to a file with mdp -outfile file.html file.md. Currently --watch and -outfile are mutually exclusive. The enhancement would re-render the output file on every save so external tools (static-site generators, CI watchers, etc.) can pick up the change.

This would also enable use cases like piping mdp into a Hugo/Vite live-reload pipeline.

Tracked from the live-reload implementation PR — see linked issue/PR for context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions