mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-08 04:20:07 +02:00
👌 Nicer logging of multiple paths
This commit is contained in:
@ -41,9 +41,9 @@ class PhpConfigWatcher {
|
||||
}
|
||||
|
||||
print("A watcher exists for the following config paths:")
|
||||
for watcher in self.watchers {
|
||||
print(watcher.url)
|
||||
}
|
||||
print(self.watchers.map({ watcher in
|
||||
return watcher.url.relativePath
|
||||
}))
|
||||
}
|
||||
|
||||
func addWatcher(for url: URL, eventMask: DispatchSource.FileSystemEvent, behaviour: FSWatcherBehaviour = .reloadsMenu) {
|
||||
|
Reference in New Issue
Block a user