Just wondering what peoples workflow with static files is like?
I’m building a site using only static files for Templates, Snippets and Chunks. So far it’s going well but for one minor annoyance: Whenever I want to view changes on my local copy of the site I must clear the cache. Would anyone know of a way to automate this?
Afaik MODX takes the static files as they are, but uses them as reference to still build the site with its own system. So the contents of your static files are checked with those in the database and are then changed there (or not). This is also the reason why you need to clear your cache, for MODX to check on the database again for changes (see also this post for a good explanation).
So unfortunately, I’m not aware of any workaround here. Is there a specific reason for you, to only use static files?
You can check some of the Extras to simplify your de-caching. Clearing the cache is a key step in checking your work, unless you use another browser or better yet another device