Commit 127733c8 authored by biasmey's avatar biasmey
Browse files

removing oncreate event because onchange is triggered too

parent 5c8badbe
......@@ -37,7 +37,7 @@ namespace NotificationWriterService
// Add event handlers.
_watcher.Changed += new FileSystemEventHandler(OnChanged);
_watcher.Created += new FileSystemEventHandler(OnChanged);
// _watcher.Created += new FileSystemEventHandler(OnChanged);
_watcher.Deleted += new FileSystemEventHandler(OnChanged);
_watcher.Renamed += new RenamedEventHandler(OnRenamed);
_watcher.IncludeSubdirectories = true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment