X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/acb07ef4164643ac0dac28aab2ceae24510e5641..d759052f9f151a77c6947066550f2f6439a6f9d9:/IkiWiki/Render.pm?ds=sidebyside diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index c41dac9f6..58b374ad7 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -773,7 +773,7 @@ sub refresh () { my %existingfiles; run_hooks(needsbuild => sub { my $ret=shift->($changed, [@$del, @$internal_del]); - if (ref $ret eq 'ARRAY') { + if (ref $ret eq 'ARRAY' && $ret != $changed) { if (! %existingfiles) { foreach my $f (@$files) { $existingfiles{$f}=1;