Skip to main content

publish_media_file_changed

Function publish_media_file_changed 

Source
fn publish_media_file_changed(
    broker: &Broker,
    path: &Path,
    block_ids: &[String],
)
Expand description

Publish EVENT_MEDIA_FILE_CHANGED, scoped to every block watching the changed file’s directory with a matching extension. Mirrors publish_editor_file_changed’s per-block scoping — never a global broadcast.