module_rescan

Rescans all modules, to find all templates, lib files, dispatch rules, etc. again.

The optional repeatable action argument runs after the rescan has been requested. The action flushes the file indexer, emits the module_ready notification, and shows a progress message. It does not wait for all dependent module work to finish.

{% button text="Rescan modules" action={module_rescan action={reload}} %}

Edit on GitHub

Referred by

Category

Actions

Browser actions that templates attach to events with Zotonic's wiring system.