I have a workflow issue where sometimes I do a database sync from another server and pull down a series of ACF fields that do not match my locally generated JSON files. In this case, I would like all of the JSON files to be refreshed to match the database configuration. Migrate DB Pro has a post deploy hook – is there anything in ACF I could hook into to regenerate all of my local JSON files?
Cheers,
Dalton
Hi @Dalton
Currently, there is no trigger to re-sync all json files. I’ll have a think about how I could add this in.
Cheers
E
this is old but it’s the first post i found when looking for something like this. i found a solution on another forum – try it? https://www.awesomeacf.com/forcing-acf-field-group-json-file-generation-for-all-field-groups/ – sorry for digging up an old thread.