Configuring Sitecore Rocks Folder Sync

Posted 07-20-2017 by Baraa Mahroka

Do you know you can use Sitecore Rocks to sync folders between your Visual Studio Project and your IIS Website Root? This is helpful when you do changes to for example: CSS, JavaScript, Views or any other files that does not require your Application Pool to reset and you would like your changes to automatically appear without going through the single file publish process.

Configuring Sitecore Rocks Folder Sync:

  1. In Solution Explorer, right-click on your desired file or folder to sync (Css folder for example) to open the context menu.
  2. Choose Sitecore > Start Folder Sync



  3. In the Select File dialog box, select the targeted file or folder from you website’s folder.



  4. Click OK.

  5. In the Folder Synchronization dialog box, choose your preferred sync mode (Mirror or Copy) and you’re all set.

Notes:

  1. The folder sync has two synchronization modes:
  • Mirror: Replicates every edit, create or deletion action that occurs.
  • Copy: Only replicates edit and create actions. File deletions are not replicated.
  1. If you do not see all the files synced, you can choose the option Sync Now by right clicking the folder and selecting the Sitecore menu option.

Until next time!

Add your comment

 
 
 

Comments

  • I have encountered issues and sync didn't work without prompting for anything. This link helped me troubleshoot my issue: https://sitecore.stackexchange.com/questions/7044/folder-sync-not-working executing this from a command prompt: robocopy [source] [dest] /mir /njh /njs /ndl /nc /ns /np /A-:R showed the error message. At My case, i was syncing with network location and when i browsed to network location i didn't click on remember my credentials, so it seems Sitecore Rocks was trying to copy and didn't prompt for user credentials of the remote location. Just browsing again and ticking remember my credentials did the trick.

  • Thanks it's very useful information which will save alot of time