summaryrefslogtreecommitdiff
path: root/src-inotify/Hakyll/Web
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2011-04-12 10:09:03 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2011-04-12 10:09:03 +0200
commitb37da38d3911bbc8381a39fe526e69599d9ddcf1 (patch)
treed27f2dbf8860ddbdf0d791aff77dd8504ba6da92 /src-inotify/Hakyll/Web
parent0a3cd37cc9635d2d1e6696bff91dcd37e81bd202 (diff)
downloadhakyll-b37da38d3911bbc8381a39fe526e69599d9ddcf1.tar.gz
Major refactoring of identifiers/resources/groups
Diffstat (limited to 'src-inotify/Hakyll/Web')
-rw-r--r--src-inotify/Hakyll/Web/Preview/Poll.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src-inotify/Hakyll/Web/Preview/Poll.hs b/src-inotify/Hakyll/Web/Preview/Poll.hs
index 2e028cc..0c27f32 100644
--- a/src-inotify/Hakyll/Web/Preview/Poll.hs
+++ b/src-inotify/Hakyll/Web/Preview/Poll.hs
@@ -14,7 +14,6 @@ import System.INotify
import Hakyll.Core.Configuration
import Hakyll.Core.Resource
-import Hakyll.Core.Identifier
-- | Calls the given callback when the directory tree changes
--
@@ -27,7 +26,7 @@ previewPoll _ resources callback = do
inotify <- initINotify
let -- A set of file paths
- paths = S.map (toFilePath . unResource) resources
+ paths = S.map unResource resources
-- A list of directories. Run it through a set so we have every
-- directory only once.