mirror of
https://github.com/enso-org/enso.git
synced 2024-11-29 17:22:57 +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
140 B
Plaintext
6 lines
140 B
Plaintext
|
|
|
|
Some portions of this file Copyright (c) 2004-2006 Intel Corporation
|
|
|
|
this work for additional information regarding copyright ownership.
|