Skip to content

On created event not correctly handled on linux #76

Description

@eviweb

Hi,
the following code taken from the on_created event handler:

if self.observer.__class__.__name__ == 'InotifyObserver':
            # inotify also generates modified events for created files
            return

prevents the on_change method to be called on on_created events.

This appears more as a semantic issue as the on_modified handler seems to do the job for now.
But just partially in fact, because this is the source of the issue #68.
And it would take more importance regarding the issue #58 which implies to distinguish event types.
I think being able to propose an alternative soon.
best regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions