Not a developer? Go to MovableType.com

Documentation

build_file

This callback is invoked just after a file has been built and written to the filesystem. Unlike the build_page and build_file_filter callbacks, this callback will only be triggered if the content compiled for the page differs from that in the target file.

sub build_file {
    my ($cb, %args) = @_;
    ...
}

Parameters in %args are the same as those provided by the build_page callback.

Back