FileSystemWatcher fsw = new FileSystemWatcher();
fsw.Path = @"C:\foo.txt";
fsw.Changed += new FileSystemEventHandler(LogFileChanged);
private void LogFileChanged(object s, FileSystemEventArgs e)
{
}
If i put a breakpoint in LogFileChanged() -> open and edit foo.txt -> saves the file, the breakpoint doesn't hit. Can someone explain what I missed?