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
RE: Angular build+deploy loop as soon as ts file is opened
Hi all,
I have problem with the angular project building from the IDE inside Eclipse Photon. on Windows 10.
After creating a new angular-npm-portlet, as soon as I open the app.component.ts file in eclipse, the IDE starts deploying the project over and over without changing it. If I make a small change on the file and save it it will come online eventually during this loop but it will continue to deploy over and over.
I have updated both the Liferay Workspace and blade a couple of days ago (expecting the generation of an angular 6 portlet, witch did not occur, BTW).
Any ideas?
TIA
Fernando
Hello Fernando,
Thank you for taking time to post this issue. RIght now we
have a problem with this in Liferay IDE plugin for that project type.
For now, don't use the 'Server publishing" mechanism and instead
just use the 'gradle deploy' task, either from the command line or
from the "deploy" task in the Gradle Tasks view.
In the future we have a 'watch' action that is going to super-cede this feature and be much improved, but unfortunately it is not yet ready either for frontend-based portlets. We are working on that as we speak. For now 'gradle deploy' after each one of your changes is the best way to go. I know it isn't the fastest but we are working on it. Thanks for your patience.