We are running into issue where firing Trigger_Refetch_All is not rebuilding the entire site. According to the PR #74, looks like its supposed work, but its not. I had to manually fire a clean cache and rebuild on gatsby cloud to fetch_all. Here's a code example of how we are using it
$action_monitor = new \WPGatsby\ActionMonitor\ActionMonitor();
$monitor = new \WPGatsby\ActionMonitor\Monitors\ActionMonitor($action_monitor);
$monitor->trigger_refetch_all(
[
'title' => __( 'Global Settings Changed', 'WPGatsby' ),
]
);
which is creating records in the db with the correct time stamp
We are running into issue where firing Trigger_Refetch_All is not rebuilding the entire site. According to the PR #74, looks like its supposed work, but its not. I had to manually fire a clean cache and rebuild on gatsby cloud to fetch_all. Here's a code example of how we are using it
which is creating records in the db with the correct time stamp