I have some SwiftUI code that I put inside a Swift Package. Since you can't run SwiftUI code from a Swift Package directly as this question suggests I loaded the Swift Package as an editable local dependency on a real test xCode project.
I can get the SwiftUI code from the Swift Package to execute.
However, the live refresh does not work like it should. To get the "Live Preview" to render the SwiftUI code from the Swift Package I have to Clean (shift + command + K) -> Build (shift + command + K) -> Refresh (option + command + P) every-time.
Any thoughts on how I can get "Live Preview" to work with this setup?