Progress Bar not Updating

Has anyone successfully implemented a progress bar? I can only get the update to happen at the end of the script it seems. No matter where I put the incrementing code. I see the log updates as expected, but no redraw until the script is complete. I’m missing something completely I guess?

It would help to see some code.

Depending on what your code is doing, it’s possible that Ps hasn’t actually had a chance yet to update the UI. If your JS doesn’t yield for a tick or two, the UI won’t have a chance to update.