Hi Nasser,
> > It seems like there should be a way to get make4ht to keep the output
> > and still stop on error, but that's up to Michal. Specify -a warning
> > and also errorstopmode somehow? (And not need to use texfot.) Or
> > -a debug and errorstopmode?
> >
One thing that is possible is to stop the compilation on the first
error, using -halt-on-error option. This should make the compilation
faster, if your file contains errors. Try this build file:
Make:htlatex { latex_par="-halt-on-error"}
Best,
Michal