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: Docker deploy / new version of (angular)portlet does not update
Hi,
i inherit an old proect (angular-portlet).
The old
developer was running away. So i can't ask her questions..
This
project is my first contact with liferay.
Now i had to have ro
bring liferay and a portlet to run.
This is my working setup:
- docker image "liferay/portal:7.3.7-ga8"
mounted the
"/opt/liferay/deploy" folder.
Liferay is running. My portlet is compiled to a ".jar" by
gradle and if i copy this jar to the "deploy" folder. Deploy
seem to work fine.
I created a widget-Page by usung the
admin-gui, put nothing than this new widget on this page => it
works fine.
Now the issue:
I tryed to change some Angular TypeScript/HTML code on one component
inside the portlet => rebuild it => redeploay => no errors so
far.
I even checkt the folder where liferay put the ar files
=> fine, it is the new one..
On reload the widget-Page I
opened the network TAB (dev-tools of the browser) and watched the
Loaded files (filterd by component-name).
I see the new Code in
requests in the network TAB.
=> But the widget does not apply
the changes. The changes are not visible.
I assume: I miss some kind of cache or version mechanism for
portlets..
I would be happy for some hints..
Somehow I use
Google wrong for an useful answer..
bg Peter
Hi Peter,
Could you check if your Typescript file was transpiled to JS?
Rose