I've been struggling with this in IntelliJ for .. a whole bunch of versions, always hoping the next would solve it, and it's hindered my ability to convert Eclipsers to a better IDE:
When I'm running a webapp in a local Tomcat, I haven't found any way to get my templates hot swapped.
Saving or "compiling" doesn't seem to do anything. Intellij claims it has « packaged » a .ftl file when I « compile » it. Fine, but WHERE ? Not in my output folder anyway.
I've tried disabling all kinds of caches in FreeMarker, but to no avail.
So my first question is: can anyone get this to work in their app, when using a ClassTemplateLoader ? (it works when using a FileTemplateLoader, but that requires too many changes in the application and its configuration to be a practical development environment) ... and if so, second question: how ? :-D
Cheers, and thanks for any tip !