Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M1 wrong events fired #138

Open
muratangin187 opened this issue Jun 1, 2021 · 1 comment
Open

M1 wrong events fired #138

muratangin187 opened this issue Jun 1, 2021 · 1 comment

Comments

@muratangin187
Copy link

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");
});
@muratangin187
Copy link
Author

I reproduce same thing with older macs, it is specific to Mac OS I guess. Is there any idea on it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant