before-prune (builder, all)

This event is emitted right before Lektor searches the build directory for data that does not match a known artifact. Orphaned data is then removed. This event is also emitted before a clean, that is, when the build directory is completely purged of all data.

Plugins That Use This Event