debuggery
This commit is contained in:
parent
c4023f7858
commit
ce7889ba86
1 changed files with 7 additions and 0 deletions
|
@ -191,6 +191,13 @@ safeToAdd st changes = runThreadState st $
|
|||
openfiles <- S.fromList . map fst3 . filter openwrite <$>
|
||||
liftIO (Lsof.queryDir tmpdir)
|
||||
|
||||
liftIO $ debug thisThread
|
||||
[ "checking changes:"
|
||||
, show changes
|
||||
, "vs open files:"
|
||||
, show openfiles
|
||||
]
|
||||
|
||||
let checked = map (check openfiles) changes
|
||||
|
||||
{- If new events are received when files are closed,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue