From 28f3aaae433676d5dbf23cb9febc6db8ee76fada Mon Sep 17 00:00:00 2001 From: Digimer Date: Mon, 13 Aug 2018 11:38:59 -0400 Subject: [PATCH] * Disabled caching and forcing read in Storage->read_config. Signed-off-by: Digimer --- Anvil/Tools/Storage.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Anvil/Tools/Storage.pm b/Anvil/Tools/Storage.pm index ff258513..8eb5fb0b 100755 --- a/Anvil/Tools/Storage.pm +++ b/Anvil/Tools/Storage.pm @@ -1129,9 +1129,10 @@ sub read_config } else { - # Read it in! + # Read it in! And force the issue so we don't use a cached version in case it's + # changed on disk. my $count = 0; - my $body = $anvil->Storage->read_file({force_read => 1, debug => $debug, file => $file}); + my $body = $anvil->Storage->read_file({cache => 0, force_read => 1, debug => $debug, file => $file}); $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => $debug, list => { body => $body }}); foreach my $line (split/\n/, $body) {