You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unless you run the Shark script with "For install builds only", the automatic preview of SwiftUI in Xcode keeps popping up "Automatic preview updating paused". I'm guessing this is because it detects changes to the relevant source code.
The text was updated successfully, but these errors were encountered:
1.) Let Xcode handle this by adding the necessary dependencies (Storyboard files, Asset catalogues, and Localizable.strings) to the Input files and adding the output file – perhaps even add a command line Switch where Shark emits this list.
2.) Let Shark handle this by saving the timestamps and/or hashes of its (computed) input files and not generating any new output if nothing has changed.
My gut feeling is that 2.) might be the better way. What do you think?
@mickeyl I would agree that 2) seems like a more suitable solution! I would probably go for hashes myself, unless that proves too computationally expensive.
@denizdoganThis is the most simple solution I could come up with. Instead of caching anything or computing hashes, let's just compare the existing output with the new output. Since we're typically not dealing with megabyte-long files, I assume this to be a workable solution.
Unless you run the Shark script with "For install builds only", the automatic preview of SwiftUI in Xcode keeps popping up "Automatic preview updating paused". I'm guessing this is because it detects changes to the relevant source code.
The text was updated successfully, but these errors were encountered: