diff options
author | Jasper Van der Jeugt <m@jaspervdj.be> | 2015-06-30 11:51:06 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2015-06-30 11:51:53 +0200 |
commit | f9872ba1bb06e2af30639a8cadc26004afcd5ca3 (patch) | |
tree | e8d0d20c1a03f030f01d5eb46a2a03b6dfb3efaf /src/Hakyll/Preview/Poll.hs | |
parent | 43c4e2a82e080ea63dd25dff7df270e30d0e65d6 (diff) | |
download | hakyll-f9872ba1bb06e2af30639a8cadc26004afcd5ca3.tar.gz |
Allow empty template, fix some import warnings
Closes #355
Diffstat (limited to 'src/Hakyll/Preview/Poll.hs')
-rw-r--r-- | src/Hakyll/Preview/Poll.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Hakyll/Preview/Poll.hs b/src/Hakyll/Preview/Poll.hs index 34eb971..318be69 100644 --- a/src/Hakyll/Preview/Poll.hs +++ b/src/Hakyll/Preview/Poll.hs @@ -14,7 +14,7 @@ import Control.Exception (AsyncException, fromException, import Control.Monad (forever, void, when) import Filesystem.Path.CurrentOS (decodeString, encodeString) import System.Directory (canonicalizePath) -import System.FilePath (pathSeparators, (</>)) +import System.FilePath (pathSeparators) import System.FSNotify (Event (..), startManager, watchTree) @@ -23,6 +23,7 @@ import Control.Concurrent (threadDelay) import Control.Exception (IOException, throw, try) import System.Directory (doesFileExist) import System.Exit (exitFailure) +import System.FilePath ((</>)) import System.IO (Handle, IOMode (ReadMode), hClose, openFile) import System.IO.Error (isPermissionError) |