WOApplication.application()._removeComponentDefinitionCacheContents();

Cheers,
- hugi

// Hugi Thordarson
// http://www.loftfar.is/ <http://www.loftfar.is/>
// s. 895-6688



> On 5. feb. 2015, at 09:31, OC <o...@ocs.cz> wrote:
> 
> Hello there,
> 
> is there a trick to force an application instance which is running with 
> WOCachingEnabled to reload the templates? Eg. by signalling it, or something 
> like that?
> 
> The use case: a tester finds a small bug in templates (say, a typo), and 
> wants to make a rapid fix at the test site. I log in remotely in there, make 
> the fix using a plaintext editor, and... have to restart the instance, which 
> is rather inconvenient.
> 
> Of course I could run WOCachingEnabled=NO at the test site, but since the 
> scenario happens pretty rarely, I would rather prefer to be able to 
> explicitly say to the instance „hey, reload them now“, if possible.
> 
> Thanks a lot,
> OC
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
> 
> This email sent to h...@karlmenn.is

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to