summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll/Internal/Cache.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-02-12 12:01:23 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-02-12 12:01:23 +0100
commit6611e86ac5db5790b271f0b3e41376a0affdbb80 (patch)
tree5b2f5cc7d58a3fd7b41e8ee57a167407a6f86be4 /src/Text/Hakyll/Internal/Cache.hs
parent732fdc9894fe8002c91b309ba8aeafc99e9f5be3 (diff)
downloadhakyll-6611e86ac5db5790b271f0b3e41376a0affdbb80.tar.gz
Added autocompile mode to replace preview mode.
Diffstat (limited to 'src/Text/Hakyll/Internal/Cache.hs')
-rw-r--r--src/Text/Hakyll/Internal/Cache.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Hakyll/Internal/Cache.hs b/src/Text/Hakyll/Internal/Cache.hs
index 0deb5f4..d586f45 100644
--- a/src/Text/Hakyll/Internal/Cache.hs
+++ b/src/Text/Hakyll/Internal/Cache.hs
@@ -27,4 +27,4 @@ getFromCache = liftIO . decodeFile <=< toCache
-- | Check if a file in the cache is more recent than a number of other files.
isCacheMoreRecent :: FilePath -> [FilePath] -> Hakyll Bool
-isCacheMoreRecent file depends = toCache file >>= flip isMoreRecent depends
+isCacheMoreRecent file depends = toCache file >>= flip isFileMoreRecent depends