mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 17:01:32 +00:00
Update inotify paths on pattern change
This commit is contained in:
parent
ea0fff5662
commit
e58f0b1d04
@ -79,6 +79,7 @@ class IdeHandler:
|
|||||||
def read(self, message):
|
def read(self, message):
|
||||||
if 'patterns' in message:
|
if 'patterns' in message:
|
||||||
self.filemanager.patterns = message['patterns']
|
self.filemanager.patterns = message['patterns']
|
||||||
|
self.monitor.paths = self.filemanager.parents
|
||||||
try:
|
try:
|
||||||
message['filename'] = self.filemanager.find_file(
|
message['filename'] = self.filemanager.find_file(
|
||||||
message.get('filename') or self.initial_file
|
message.get('filename') or self.initial_file
|
||||||
|
Loading…
Reference in New Issue
Block a user