Closed orta closed 7 years ago
In theory you can be smarter too, if you mix it with polling the Xcode AppleScript API, you can figure out what are active projects, then only listen to FSEvents for those apps.
Thanks, @orta I should've thought about this way of getting failed images. This looks more powerful than what I have now because you can get also the new records of the images.
Thanks once again @orta, this is implemented and will be a part of new release soon.
Tests and everything - fancy!
-- [·/ ] Orta Therox
w/ Artsy http://artsy.net/ CocoaPods http://cocoapods.org/ / CocoaDocs http://cocoadocs.org/ @orta / orta.github.com
On Mon, May 1, 2017 at 11:18 AM, Anton notifications@github.com wrote:
Closed #15 https://github.com/Antondomashnev/FBSnapshotsViewer/issues/15 .
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Antondomashnev/FBSnapshotsViewer/issues/15#event-1063859952, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC_jtf7rpwwWnIOt93rwP4c55_q3Ry0ks5r1bFYgaJpZM4Mo3hG .
Full code: DeveloperDirWatcher.swift
In every project logs are stored in places like this:
Users/orta/Library/Developer/Xcode/DerivedData/Aerodramus-elioeeoyxfebivbqkcrplnueiqkk/Logs/Test
So you can watch the
Users/orta/Library/Developer/Xcode/DerivedData
folder with File System EventsI then
Aerodramus-elioeeoyxfebivbqkcrplnueiqkk
)Rinse and repeat.