Update inotify paths on pattern change

This commit is contained in:
Gergo Turcsanyi 2020-05-29 11:57:54 +02:00
parent ea0fff5662
commit e58f0b1d04

View File

@ -79,6 +79,7 @@ class IdeHandler:
def read(self, message):
if 'patterns' in message:
self.filemanager.patterns = message['patterns']
self.monitor.paths = self.filemanager.parents
try:
message['filename'] = self.filemanager.find_file(
message.get('filename') or self.initial_file