Closed francisdb closed 6 years ago
Do you have a reproducer? What kind of changes trigger this error?
just a ~test:compile on the root of a big project (20+ subprojects)
using the MacOSXWatchService sbt plugin
Okay I see the bug. We should be calling queue.offer
instead of queue.add
. If the offer is rejected we can send an OVERFLOW
event. It also probably wouldn't hurt to make the queue size configurable.
@francisdb The ‘MacOSXWatchService’ is this project? https://github.com/megri/macos-watcher That doesn’t seem to use this library though.
It is https://github.com/swoval/MacOSXWatchService. Looks like the author has copied the code from this project and made some changes.
this is on a rather big multiproject sbt build