diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-04-12 10:09:03 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-04-12 10:09:03 +0200 |
commit | b37da38d3911bbc8381a39fe526e69599d9ddcf1 (patch) | |
tree | d27f2dbf8860ddbdf0d791aff77dd8504ba6da92 /src-inotify/Hakyll/Web | |
parent | 0a3cd37cc9635d2d1e6696bff91dcd37e81bd202 (diff) | |
download | hakyll-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.hs | 3 |
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. |