yuanchuan / node-watch

A wrapper and enhancements for fs.watch
https://npm.im/node-watch
MIT License
339 stars 44 forks source link

skip: only provide on initial recurse #118

Closed wmertens closed 2 years ago

wmertens commented 2 years ago

skip is truthy when checking if a directory should be recursively watched, and false otherwise.

This allows running different checks.

Fixes #117

yuanchuan commented 2 years ago

I can't even follow my own code from the past 🤔 At least all tests have passed!