Reputation: 15458
I'm developing a site locally with XAMPP. I am using static files for templates, snippets and chunks.
Currently, whenever I update a template file I need to manually clear MODX's cache in the Manager before I see any changes on the front end. This is a bit of a pain and doesnt really work with my task runners.
In the settings area I've turned off:
And turned on
But there is no changes.
Is there some other setting I'm missing?
Is there some CLI commands I could use to do this?
Upvotes: 0
Views: 999
Reputation: 612
I think you are looking for cache_resource
setting. You can set it to No
on your dev environment.
More information: https://docs.modx.com/current/en/building-sites/settings/cache_resource
Upvotes: 2
Reputation: 11
You can write a gulp task watching for some changes in templates and cleaning Modx cache. Then necessery run it every time you start to work.
Upvotes: 1