v3 31
This commit is contained in:
parent
0aee64c7f3
commit
861dcd00d8
@ -74,10 +74,12 @@ class InputDirectoryWatcher(@Autowired var coordinator: Coordinator): FileWatche
|
||||
e.printStackTrace()
|
||||
}
|
||||
}
|
||||
log.warn { "Watcher stopped!!!" }
|
||||
if (!isStopping) {
|
||||
ioCoroutine.launch {
|
||||
watchFiles()
|
||||
watcherChannel.invokeOnClose {
|
||||
log.warn { "Watcher stopped!!!" }
|
||||
if (!isStopping) {
|
||||
ioCoroutine.launch {
|
||||
watchFiles()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user