Repository navigation
0.1.45
An external package (swiftuiweb-run --package-root, the SwiftPM plugin) keeps its lowered tree and SwiftPM's scratch folder between builds in .build/build-cache/<product>-<configuration>-<profile>, so a build recompiles only what changed instead of everything: on a consumer app with 5,154 lowered files a build with nothing changed went from 539 to 638 s to 52 s, with the same flags and bundle. One build at a time uses a cache (a flock released when the build ends); the cache is off on CI, and SWIFTUIWEB_STABLE_WORKSPACE=0 restores the temporary folder. A failed or interrupted sync of the tree now makes the next run build instead of skipping it, in the development loop too (#130, #133). A Canvas redraws for its final size after a resize (#131).