Skip to content

Implement event bubbling (was: fswatch prints all files multiple times even when they aren't changing) #255

@Timmmm

Description

@Timmmm
$ fswatch -r grpc
/localdata/projects/grpc/grpc
/localdata/projects/grpc/grpc
/localdata/projects/grpc/grpc
/localdata/projects/grpc/grpc
/localdata/projects/grpc/grpc
/localdata/projects/grpc/grpc
/localdata/projects/grpc/grpc
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git/branches
/localdata/projects/grpc/grpc/.git/branches
/localdata/projects/grpc/grpc/.git/branches
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git/branches
/localdata/projects/grpc/grpc/.git/branches
/localdata/projects/grpc/grpc/.git/branches
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git/branches
/localdata/projects/grpc/grpc/.git/branches
/localdata/projects/grpc/grpc/.git/branches
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git/branches
/localdata/projects/grpc/grpc/.git/branches
/localdata/projects/grpc/grpc/.git/branches
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git/hooks
/localdata/projects/grpc/grpc/.git/hooks
/localdata/projects/grpc/grpc/.git/hooks
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git/hooks
/localdata/projects/grpc/grpc/.git/hooks
/localdata/projects/grpc/grpc/.git/hooks
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git/hooks
/localdata/projects/grpc/grpc/.git/hooks
/localdata/projects/grpc/grpc/.git/hooks
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git/hooks
/localdata/projects/grpc/grpc/.git/hooks
/localdata/projects/grpc/grpc/.git/hooks
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git/info
/localdata/projects/grpc/grpc/.git/info
/localdata/projects/grpc/grpc/.git/info
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git/info
/localdata/projects/grpc/grpc/.git/info
/localdata/projects/grpc/grpc/.git/info
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git/info
/localdata/projects/grpc/grpc/.git/info
/localdata/projects/grpc/grpc/.git/info
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git/info
/localdata/projects/grpc/grpc/.git/info
/localdata/projects/grpc/grpc/.git/info
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git/logs
/localdata/projects/grpc/grpc/.git/logs
/localdata/projects/grpc/grpc/.git/logs
/localdata/projects/grpc/grpc/.git
/localdata/projects/grpc/grpc/.git/logs
/localdata/projects/grpc/grpc/.git/logs
...

It prints a new chunk of files about once per second. I didn't set up this machine but I'm pretty sure this is the filesystem:

/dev/mapper/vgsys-root on / type xfs (rw,relatime,attr2,inode64,noquota)
/dev/mapper/vgsys-root                   104833760   29314588   75519172  28% /

OS/version:

Ubuntu 18.04.3 LTS
$ fswatch --version
fswatch 1.11.2

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