I'd love to have a feature to have a certain path to refresh on a specific changed file.
E.g. I use the plugin with a CMS that stores its content and configuration in txt & yaml files.
- When that content changes, I want to reload all pages but not the CMS panel
- When configuration changes, I want to reload only the panel pages
Paths to refresh could also be defined via glob matching.
Example configuration:
plugins: [
FullReload([
{
watch: ["site/{layouts,snippets,templates}/**/*", "content/**/*"],
reload: ["!/panel", "*"]
},
{
watch: ["site/blueprints/**/*"],
reload: ["/panel"]
}
])
],
I'd love to have a feature to have a certain path to refresh on a specific changed file.
E.g. I use the plugin with a CMS that stores its content and configuration in txt & yaml files.
Paths to refresh could also be defined via glob matching.
Example configuration: