Skip to content

Detect the number of files that are being copied #1127

@mohasarc

Description

@mohasarc

Hello, I'm not going to describe a bug, but I'm wondering if the following is possible:

Consider this scenario: I'm using chokidar to watch a directory with many files/subdirectories in it. I'll then perform a copy operation using windows right-click, copy and paste. After that, I'll be receiving a number of 'add' events from the watcher.

My questions: Is there a way to detect the number of these 'add' events at the beginning, basically is there a way to know the number of files being copied instantly, without waiting for them to be actually copied?

Versions (please complete the following information):

Chokidar version: ^= 3.5.1
Node version: 14
OS version:Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions