From 4b66f4916c731ad1f00d1f6fc805a82bd08de276 Mon Sep 17 00:00:00 2001 From: Rehno Lindeque Date: Tue, 5 Jun 2012 02:05:33 -0700 Subject: [PATCH] Document DeletedSelf event that fails to trigger --- src/Observer/StorageObserver.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Observer/StorageObserver.hs b/src/Observer/StorageObserver.hs index b1c4de3..5b1ef6b 100644 --- a/src/Observer/StorageObserver.hs +++ b/src/Observer/StorageObserver.hs @@ -110,6 +110,7 @@ inotifyEvent messages e = do unloadFile DeletedFile p -- The watch path was deleted, so remove all files from the file store + -- TODO: (BUG) This event does not appear to trigger at the moment. DeletedSelf -> do putStrLn "The watched path was moved and hence no longer exists." unloadFiles DeletedRootDirectory