Local Pro and Local for Teams make use of our one-of-a-kind Magic Sync deployment technology. It’s pretty slick, but since it can seem like magic (hence the name), we have a quick summary of how it works below!
When using Magic Sync to push or pull a site, Local will start by asking the server for a list of all the files located within the site folder. This file list is also sometimes called an “index.”
The server’s file list is then compared with the file list that Local has for the local site.
Local uses the differences in the two file lists to create instructions for what files need to be deleted, added, or updated to make the two environments be in sync.
Local only compares modification times of files within the file list and not the actual contents of those files. If you find yourself needing to manage and merge changes more granularly than at the file level, you might consider using a dedicated version control tool like Git.
The “all modified files” option can be thought of as a “force overwrite” of the target site by the source site. This is regardless of the modification times that Local finds when comparing the file list of the server and the local site.
So for example, if I’m pushing a local site up to Flywheel’s servers, Local will compare the two file lists, one for the local site and one for the server. It will then generate instructions to:
Notice in this screenshot, the
robots.txt file is older on the Local site, but because the “All modified files” option is selected, it is still going to overwrite the remote site.
If we compare the above image with the “only newer files” option, we see that the files that are older on the Local site, do not show up as available to be pushed:
It’s free and always will be.
Thanks! We'll contact you as soon as Local for Windows is available.
Next-level functionality and enhanced local development.
Sign up below and we’ll notify you the minute Local Pro is available for beta! Launching July 2019.
Thanks! We'll contact you as soon as the beta is available.
Local by Flywheel is only available as a desktop application, but no worries! Just enter your email in the box below and we'll send you a little reminder to download it via your desktop.
Thanks! Check your inbox for a link to download Local on your desktop.