In coldfusion to clear the template we can do like:
<cfscript>
adminObj = createObject("Component", "cfide.adminapi.administrator");
adminObj.login("cfadmin_password"); //change to use your CF Admin password
rtService = createObject("component", "cfide.adminapi.runtime");
rtService.clearTrustedCache();
rtService.clearTrustedCache("C:\inetpub\wwwroot\test.cfm,C:\inetpub\wwwroot\test2.cfm");
</cfscript>
anyone know, how we do this in lucee?