Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Liferay watch changes in JSP files
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 ❤
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