on master help sign in
Fix import errors on windows
b5e95b6Jasper Van der Jeugt
src/Hakyll/Commands.hs+5
@@ -36,6 +36,11 @@ import Hakyll.Preview.Poll (watchUpdates)
36import Hakyll.Preview.Server
36import Hakyll.Preview.Server
37#endif
37#endif
38
38
39+#ifdef mingw32_HOST_OS
40+import Control.Exception (catchIOError)
41+import Control.Monad (void)
42+#endif
43+
39
44
40--------------------------------------------------------------------------------
45--------------------------------------------------------------------------------
41-- | Build the site
46-- | Build the site