-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Labels
Description
From what I understand, Notepad2 implements a hybrid of event-based file change monitoring (by means of FindFirstChangeNotification) and polling by timer. Why, instead of polling for changes every 2 seconds, it doesn't just WaitForSingleObject on the returned change handle in a separate thread so that changes to the file are immediately recognized?
If there are no particular reasons for the existing approach, then I'd like input on how time consuming it is to implement the change monitoring like described (plus a minimum interval between 2 reload events for files that change too fast).
Current implementation makes it impossible to use Notepad2 as a log monitoring tool