Skip to content

Commit

Permalink
Document DeletedSelf event that fails to trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
rehno-lindeque committed Jun 5, 2012
1 parent d59cd16 commit 4b66f49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Observer/StorageObserver.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b66f49

Please sign in to comment.