def on_deleted(self, event): logger.green_text('[remove] {0}'.format(event.src_path)) self.process(event)
def on_created(self, event): logger.green_text('[create] {0}'.format(event.src_path)) self.process(event)
def on_deleted(self, event): logger.green_text('remove', event.src_path.decode('utf8')) self.process(event)
def on_modified(self, event): logger.green_text('update', event.src_path) self.process(event)
def on_created(self, event): logger.green_text('create', event.src_path.decode('utf8')) self.process(event)