Reacting to file changes is a common technique in many applications. If you build for iOS or macOS with SwiftUI, you enjoy the benefits of SwiftUI previews to shorten the feedback loop and build faster. This happens because Xcode constantly watches the file being edited (probably even before it is saved!). The concept of hot reloading is very popular in web development as well - thanks to some…