Replies: 5 comments 23 replies
-
Hey @umairsair,
As for the changes being immediately reflected in your app: What you're looking for is called hot reloading in the browser development work. However, Theia does not support that currently. See for example #2436 which discusses this in brief detail. However, Theia already supports that use case when you simply reload the browser app. You just need to run a watcher that recompiles your extension/plugin code on every change. Reloading the app in the browser will then automatically reload with the newly integrated changes. We have an example app that contains a few scripts that already do that: theia/examples/browser/package.json Lines 109 to 111 in ab0ce56 |
Beta Was this translation helpful? Give feedback.
-
@umairsair We have already started a thread concerning exactly what you suggest in this discussion : #16001 It looks like a lot of what is in #2436 is also relate to that discussion. |
Beta Was this translation helpful? Give feedback.
-
@umairsair The best option available at the moment for your Eclipse kind of dynamic service runtime is a project called Pandino. It is the only solution available to my knowledge for the OSGi style feature for the point #4 you mentioned. But Theia at the moment doesn't provide dynamic UI swapping because there's no such mechanism at the moment. I invite you to check Pandino. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am looking for good development environment like I used to have for eclipse;
Now I have theia browser app and want to develop multiple extensions for it, ideally the vscode extensions. But for development, if they are compiled as theia plugins, thats also fine. And now if I make any changes to my extensions, they immediately gets reflected in running browser app, or a reload of open browser app is also fine.
Do we have any such development environment setup guide? Or any direction that I can look into for such a development environment and contribute back to community?
Beta Was this translation helpful? Give feedback.
All reactions