ice-demos
ice-demos copied to clipboard
Swift demo's rebuild when using multiple terminals
Select a demo. In terminal A run swift build. When finished, run swift build in terminal B.
Swift will rebuild the demo.
Seems this is an expected Swift behavior. Swift caches the environment and compares the hashes between runs. If you have env vars that change between terminal sessions, this can cause a rebuild.
https://forums.swift.org/t/building-non-ui-programs-e-g-command-line-tools-servers-etc/71368