This article shows how to enable Developer Mode in your app server manually and through Dev Studio DXP, as well as how to configure other settings that may benefit you during development. Each topic is explained in the relevant section below.
Follow these steps to enabled Developer Mode in your app server manually:
portal-ext.propertiesfile in your server’s root folder if it doesn’t exist.
Add the line below to it:
Alternatively, add the properties from the portal-developer.properties file to your
portal-ext.propertiesfile that you want to use.
Start your app server to apply the changes.
Read the next section to learn how to enable Developer Mode in Dev Studio DXP.
Follow these steps to enable Developer Mode for your app server in Dev Studio DXP:
Double-click on your server in the Servers window and open the Liferay Launch section.
Select Custom Launch Settings and check the Use developer mode option.
Save the changes and start your server.
By default, FreeMarker theme templates and web content templates are cached. You can change this behavior through System Settings with the steps below:
Open the Control Panel and go to Configuration → System Settings.
Select Template Engines under the PLATFORM heading.
By default, the Resource modification check (the time in milliseconds that the template is cached) is set to
60000. Set this value to
0to disable caching.
false in your
portal.properties, or you can
disable fast loading by setting the URL parameter
Great! You’ve set up your server for Developer Mode. Now, when you modify your theme’s file directly in your bundle, you can see your changes applied immediately on redeploying your theme!