Howtos
Auto-transfer
How to configure auto-transfer
Auto-transfer
Auto-transfer allows you to copy asg-data from editable place to configured place.
How to configure
To use this functionality you need to add configuration auto-transfer-config.json to your own project.
Your configuration must be like this:
{
"your_environment": {
"@autoTransfers": [
{
"sourceDir": "/full/path/to/source/folder/",
"copyDir":"/full/path/to/destination/folder/"
}
]
}
}
After editing ano-site resource data in your own project (in your_environment), auto transfer will copy module data from sourceDir/content to copyDir/content. Also, if you editing image data in ano-site resource data, auto-transfer will add image file from sourceDir/files to copyDir/files or delete this file from copyDir/files in case, when you delete this image.
For now auto-transfer enable only for ano-site resource data.
