filespy
filespy copied to clipboard
Spy on files 🔍
Hi! Thanks for awesome lib, *README#Pattern syntax* has following example: > Use a leading separator to match against the root. '/*.js' // matches 'a.js' not 'a/b.js' Does it use `cwd`...
Filespy waits for the root directory to exist before starting the watcher. If the root directory did not exist **before** `filespy` was called, should it emit a `create` event (with...
When the `snapshotPath` option is provided, Filespy will pass it to `@parcel/watcher`'s `getEventsSince` function to see if any files changed since the last time Filespy was given that same snapshot...
This should make the initial crawl faster, since Watchman is a daemon that keeps its crawled files in memory.
Idk if there's much we can do about this, since initial crawl needs to come before watcher creation, so the watcher's `ignore` option can be inferred from the `only` and...
While a directory is being crawled, an event for one of its descendants may come in before that descendant has been reached.
Avoid adding files whose parent directory was deleted while it was being crawled.