diff options
Diffstat (limited to 'src/Hakyll/Preview')
-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) |