make debounce time configurable
This would be nice for speeding up test suites.
Currently I'm waiting 100ms after a batch of changes before I can expect stuff.
@devongovett just to clarify, there is a 50ms debounce delay across all platforms to collect events before emitting. right? I was curious about the debounce delay that is used and found this:
https://github.com/parcel-bundler/watcher/blob/728f9a4283129c05f8909379b5b6b4e879789b99/src/Debounce.hh#L63
Updated the defaults in #113 to always emit the first change immediately with no delay, while batching subsequent changes. That might help a little. Making it configurable is a bit difficult because currently the debouncer is a singleton.