Exemple #1
0
 def on_deleted(self, event):
     logger.green_text('[remove] {0}'.format(event.src_path))
     self.process(event)
Exemple #2
0
 def on_created(self, event):
     logger.green_text('[create] {0}'.format(event.src_path))
     self.process(event)
Exemple #3
0
 def on_deleted(self, event):
     logger.green_text('remove', event.src_path.decode('utf8'))
     self.process(event)
Exemple #4
0
 def on_modified(self, event):
     logger.green_text('update', event.src_path)
     self.process(event)
Exemple #5
0
 def on_created(self, event):
     logger.green_text('create', event.src_path.decode('utf8'))
     self.process(event)