Closed lsignac closed 6 months ago
Marp CLI has historically been fail fast to avoid passing conversion errors to subsequent processes, such as watch mode, preview mode, etc.
If we were to refactor the multi-file conversion, we would have to make the error scope file by file, and then pass the conversion success/failure for each file to the subsequent process. :)
It would be good to provide --fail-fast
option too, for users who want the traditional workflow.
marp fails if a file is not readable :
Deleting
secret.md
solves the problem. I think (not sure... ;) ) marp should just ignore unreadable files and should not fail.