When something is changed, the server packages up the resources for your project and sends them to the attached devices. The server watches your project directory and detects changes to resource files, sample data files, Java/Kotlin files and dex/apk files.
Mirror has two components: a server program that runs on your computer and an app that runs on each preview device.