To use an external editor to edit templates, am using a snippet to load a file and add this in the page:
[[includeFile? &file=`assets/templates//main/site_main2.html`]]
This works fine, but I have to manually clear the cache to update the page. Now an obvious solution is to load the snippet uncached by adding the ! in the call.
Now here is the problem. Doing so, doubles the externally edited content on the page.. how come?