Skip to content

PrefixedFileProvider: Watch() may miss changes when glob contains '**' #46

@rameel

Description

@rameel

PrefixedFileProvider.Watch() sometimes misses file change notifications.

Seems to happen when the glob filter contains **, especially if parts of the pattern overlap with the prefix structure.

var provider = new PrefixedFileProvider(
    "/modules/profile/assets",
    new PhysicalFileProvider(...));

var token = provider.Watch("/modules/**/assets/*.js");

In my case, changes to *.js files are not detected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions