From 294c48ea4819c98270a7373e2c0598ab15d82419 Mon Sep 17 00:00:00 2001 From: Jorge Israel Peña Date: Wed, 22 May 2013 17:28:32 -0700 Subject: finish incomplete comment --- src/Hakyll/Preview/Poll.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Hakyll/Preview/Poll.hs b/src/Hakyll/Preview/Poll.hs index 5ab8600..ab183f7 100644 --- a/src/Hakyll/Preview/Poll.hs +++ b/src/Hakyll/Preview/Poll.hs @@ -64,7 +64,7 @@ watchUpdates conf update = do #else update' event provider = do let path = provider eventPath event - -- on windows + -- on windows, a 'Modified' event is also sent on file deletion fileExists <- doesFileExist path when fileExists . void $ waitOpen path ReadMode (\_ -> update) 10 -- cgit v1.2.3