Skip to main content

Is this expected?

It takes a frustrating amount of time for the build process to run for frontend source code.
I was hoping development would be faster on the new UI, but so far it has been very slow. Every time I make a change to the typescript or html files, rebuilding the source code takes approximately a minute, even for a simple screen.

 

Anyone have any ideas?

Here is what I’ve learned since asking this question, in case anyone else has the same concern.
I asked this same question in one of the UI sessions at DevCon and was told that using the 

npm run watch

command (with screen or module parameters) will solve the issue and will enable refreshing the page to immediately see changes that were made in the source files.
Here’s the screenshot from the help docs, explaining how to do that.
 

 

Hope this helps anyone who has the same question!


The watch option is very convenient - but I have seen some circumstances where it detects a change, recompiles and the change isn’t reflected in the output - had to do a “full” build to get the changes to show.  Just keep an eye out for that - I think in my case it was specific to a grid and making changes to columns in that grid via the view definition.


Reply