If the same queue event already exists in the file monitor queue discard it.
This fixes an out of memory error if a watched file is changed multiple times in a second. In this case the queue gets filled faster as it can be processed.
This fixes an out of memory error if a watched file is changed multiple times in a second. In this case the queue gets filled faster as it can be processed.