mirror of
https://github.com/enso-org/enso.git
synced 2024-12-25 05:41:36 +03:00
2db4f4c5d9
The change upgrades `directory-watcher` library, hoping that it will fix the problem reported in #7695 (there has been a number of bug fixes in MacOS listener since then).
Once upgraded, tests in `WatcherAdapterSpec` because the logic that attempted to ensure the proper initialization order in the test using semaphore was wrong. Now starting the watcher using `watchAsync` which only returns the future when the watcher successfully registers for paths. Ideally authors of the library would make the registration bit public
(3218d68a84/core/src/main/java/io/methvin/watcher/DirectoryWatcher.java (L229C7-L229C20)
) but it is the best we can do so far.
Had to adapt to the new API in PathWatcher as well, ensuring the right order of initialization.
Should fix #7695.
6 lines
175 B
Plaintext
6 lines
175 B
Plaintext
Apache Commons Codec
|
|
Copyright 2002-2023 The Apache Software Foundation
|
|
|
|
This product includes software developed at
|
|
The Apache Software Foundation (https://www.apache.org/).
|