cancel
Showing results for 
Search instead for 
Did you mean: 

How to hot deploy a modified template

forrest43
Champ in-the-making
Champ in-the-making
I created a template file in share(the file path is "C:\Alfresco\tomcat\shared\classes\alfresco\web-extension\site-webscripts\custom-display.ftl").
I started the server and it worked, but I couldn't hot deploy the template file if I modify the template since the server have been started.
Every time I modify the template, I need to restart the server. Then how to hot deploy the template in server ?
1 REPLY 1

erikwinlof
Confirmed Champ
Confirmed Champ
In your share-config-custom.xml try changing the autowire settings to "development" rather than "production", i.e.

         <autowire>
            <!– Pick the mode: "production" or "development" –>
            <mode>development</mode>
         </autowire>