Skip to content

M1 wrong events fired #138

@muratangin187

Description

@muratangin187

Screen Shot 2021-06-01 at 15 27 34

I have a structure like that, he. I tried to copy alex to same directory, the resulting structure will be like that.

Screen Shot 2021-06-01 at 15 28 08

In windows, I got 4 event with action 0 for each item. But in my laptop(m1 air) I get these events(I filtered change events for a clear output) which is not expected.

Screen Shot 2021-06-01 at 15 29 42

The code I used for testing:
var nsfw = require('nsfw');
var watcher1;
return nsfw('/Users/muratangin/Downloads/Academic Work', function(events) {
    console.log(events.filter(e=>e.action != 2));
},{debounceMS: 1000}).then(function(watcher) {
    watcher1 = watcher;
    watcher.start();
    console.log("initialized");
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions