From 7ddb70a9176040416f7a4624c98d205cd224c5a8 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Mon, 27 Jan 2014 14:03:09 +0200 Subject: [PATCH] Regenerate log index after each job --- lib/Gruntmaster/Daemon.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Gruntmaster/Daemon.pm b/lib/Gruntmaster/Daemon.pm index 4adf801..78b39e4 100644 --- a/lib/Gruntmaster/Daemon.pm +++ b/lib/Gruntmaster/Daemon.pm @@ -132,6 +132,7 @@ sub process{ my $log = $meta->{contest} ? "ct/$meta->{contest}/log" : 'log'; PUBLISH gensrc => $job; PUBLISH genpage => "$log/job/$job.html"; + PUBLISH genpage => "$log/index.html"; my $page = ($job + Gruntmaster::Page::Log::PAGE_SIZE - 1) / Gruntmaster::Page::Log::PAGE_SIZE; PUBLISH genpage => "$log/$page.html" } -- 2.39.2