From 6611e86ac5db5790b271f0b3e41376a0affdbb80 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Fri, 12 Feb 2010 12:01:23 +0100 Subject: Added autocompile mode to replace preview mode. --- src/Text/Hakyll/Internal/Cache.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Hakyll/Internal/Cache.hs') 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 -- cgit v1.2.3