Liferay watch changes in JSP files

Jamie Sammons, modified 4 Years ago. New Member Post: 1 Join Date: 3/29/22 Recent Posts

Hello everyone, 
I'm pretty new in Liferay world, i just started to learn.
I've seen features like hot reload in Angular, Spring Boot and React, and Liferay has gradle's watch mode,
but i noticed that Liferay gradle's watch don't get some of my JSP changes, so i have to launch a gradle deploy task every time.
My question is:

do i have to launch a gradle deploy task every time i want to see JSP changes in browser?
I would appreciate any advice about using Liferay in Eclipse and any feedback.

Thanks for read ❤

thumbnail
Olaf Kock, modified 4 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

As you mention eclipse: If you use Liferay IDE or Liferay Developer Studio (on top of Eclipse), then just deploy the project by dragging&dropping the project's directory (e.g. out of liferay-workspace/modules/my-project) into the server (that's right onto ​​​​​​​the line of the server's name in the server view. (or right-click the server and "Add" your project).

This will make the IDE aware that your module is deployed, and whenever the server is running, it will automatically redeploy your project or update jsps