This would, for instance, allow running eligibility test before a build starts. One of the most frequent support requests for my packages is about compilers not being in the user's
PATH. An example for
on_post_build would be asking the user whether he wants to open a successfully transpiled document in the editor.