Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use blocking method rather than the throwing one
Avoid: Exception in thread Thread-7 java.lang.IllegalStateException: Queue full at java.base/java.util.AbstractQueue.add(AbstractQueue.java:98) at java.base/java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:326) at org.jbake.maven.util.DirWatcher.onUpdated(DirWatcher.java:57) at org.jbake.maven.util.DirWatcher.accessbash00(DirWatcher.java:17) at org.jbake.maven.util.DirWatcher.onFileChange(DirWatcher.java:40) at org.apache.commons.io.monitor.FileAlterationObserver.doMatch(FileAlterationObserver.java:410) at org.apache.commons.io.monitor.FileAlterationObserver.checkAndNotify(FileAlterationObserver.java:333) at org.apache.commons.io.monitor.FileAlterationObserver.checkAndNotify(FileAlterationObserver.java:334) at org.apache.commons.io.monitor.FileAlterationObserver.checkAndNotify(FileAlterationObserver.java:303) at org.apache.commons.io.monitor.FileAlterationMonitor.run(FileAlterationMonitor.java:183) at java.base/java.lang.Thread.run(Thread.java:829) which stops further processing of changed files.
- Loading branch information