RE: Angular build+deploy loop as soon as ts file is opened

thumbnail
Fernando Fernandez, modified 7 Years ago. Expert Posts: 401 Join Date: 8/22/07 Recent Posts

 

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

thumbnail
Gregory Amerson, modified 7 Years ago. Liferay Legend Posts: 1123 Join Date: 2/16/10 Recent Posts

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.

thumbnail
Fernando Fernandez, modified 7 Years ago. Expert Posts: 401 Join Date: 8/22/07 Recent Posts
Thanks Gregory.