Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Make changes in .ts files
Make changes in .ts files [message #1865748] Fri, 10 May 2024 07:37 Go to next message
Eclipse UserFriend
Hello, I want to make changes to a .ts file. I do that, save, but the change doesn't take effect even after restarting the application. Is there a trick for this? I changed the file
/myproject.ui.html/node_modules/@eclipse-scout/core/src/desktop/header/HeaderTabBoxController.ts
...please excuse my terrible English writing

[Updated on: Fri, 10 May 2024 07:38] by Moderator

Re: Make changes in .ts files [message #1865784 is a reply to message #1865748] Sun, 12 May 2024 16:07 Go to previous message
Eclipse UserFriend
Hi,

you should not change code in the node_modules folder. This is third party code and will be replaced as soon as you update the Scout version in your package.json and rerun pnpm install. The source code in the src folder provided by the @eclipse-scout/core module is not used during runtime, so changes at those files won't have any effect. Scout ships precompiled runtime code in the dist folder, so you don't have to compile it in your project by yourself, see Authoring Libraries.

If you want to replace certain Scout widgets, you can use the Object Factory to do so.
Previous Topic:Use ModelJobs to update UI
Next Topic:Simple tab area moves down opening a view in BenchLayoutData
Goto Forum:
  


Current Time: Sat Jun 21 13:49:25 EDT 2025

Powered by FUDForum. Page generated in 0.10236 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top