We have implemented uSync as part of syncing our Umbraco instances per environment. It has worked create when deploying to our various test environments. My question is for local development, when we either change a template or a document type, etc, is there a way to have uSync automatically import what is in the uSync folder and write to the uSync folder when changes are made locally? Or are there any recommended processes for how to handle this? Thanks!
There are a number of ways you can have uSync setup - they are controlled via the config file uSyncSettings.config in the config folder.
The default is to import (Read = true) the uSync folder on web start up and to save things out to disk when changes are made in umbraco (attach=true) so this maybe what you want?. For usync to do an import this way - you need get the app to restart - so touching the web.config usally does it.
If you want uSync to import without the restart you can set the watchFolder setting. When this is set uSync will watch the folder for changes, and when one of the config files on disk is changed it will do an import.
Process for syncing in local environment
We have implemented uSync as part of syncing our Umbraco instances per environment. It has worked create when deploying to our various test environments. My question is for local development, when we either change a template or a document type, etc, is there a way to have uSync automatically import what is in the uSync folder and write to the uSync folder when changes are made locally? Or are there any recommended processes for how to handle this? Thanks!
Hi Floyd
There are a number of ways you can have uSync setup - they are controlled via the config file uSyncSettings.config in the config folder.
The default is to import (Read = true) the uSync folder on web start up and to save things out to disk when changes are made in umbraco (attach=true) so this maybe what you want?. For usync to do an import this way - you need get the app to restart - so touching the web.config usally does it.
If you want uSync to import without the restart you can set the watchFolder setting. When this is set uSync will watch the folder for changes, and when one of the config files on disk is changed it will do an import.
Kevin
is working on a reply...