[Mono-osx] FileSystemWatcher
Andreas Färber
andreas.faerber at web.de
Tue Dec 5 16:58:48 EST 2006
Hello,
Are there any known issues using FileSystemWatcher on OS X? (v10.4.8,
Mono 1.2.1 preview)
I have an object model where some objects have their own watcher to
monitor a single file. The instances are set up like this:
fsw = new FileSystemWatcher(dir, file);
fsw.NotifyFilter = NotifyFilters.LastWrite | NotifyFilters.Size;
fsw.Changed += ...
fsw.EnableRaisingEvents = true;
Yet they rarely notice file changes. The files are on the local HFS+
volume and are either manipulated via SMB or through the app itself.
From time to time my app also crashes on startup with a SIGABRT in
FileSystemWatcher:get_MangledFilter (called
from :set_EnableRaisingEvents).
Any ideas?
Andreas
More information about the Mono-osx
mailing list