diff options
author | Jasper Van der Jeugt <m@jaspervdj.be> | 2014-04-11 21:12:01 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2014-04-11 21:12:01 +0200 |
commit | 8229765cbdf971c15e18fc8eb5a5733340b57739 (patch) | |
tree | 04d9cc96855bac300f0bd1a1dffcdad348824962 /src/Hakyll/Core/Compiler/Internal.hs | |
parent | 889e6f59f761795af3f2cb83c2a551b9c8478d66 (diff) | |
download | hakyll-8229765cbdf971c15e18fc8eb5a5733340b57739.tar.gz |
Fix tag dependency issue, slightly improve caching
Diffstat (limited to 'src/Hakyll/Core/Compiler/Internal.hs')
-rw-r--r-- | src/Hakyll/Core/Compiler/Internal.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Hakyll/Core/Compiler/Internal.hs b/src/Hakyll/Core/Compiler/Internal.hs index 259cd35..8424d69 100644 --- a/src/Hakyll/Core/Compiler/Internal.hs +++ b/src/Hakyll/Core/Compiler/Internal.hs @@ -248,5 +248,6 @@ compilerGetMatches :: Pattern -> Compiler [Identifier] compilerGetMatches pattern = do universe <- compilerUniverse <$> compilerAsk let matching = filterMatches pattern $ S.toList universe - compilerTellDependencies [PatternDependency pattern matching] + set' = S.fromList matching + compilerTellDependencies [PatternDependency pattern set'] return matching |