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.
This page is part of the Events and Callbacks in Movable Type
- Previous Publishing
This page was last updated on 2011-05-18, 16:56.
Leave a note
Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.