Forum Discussion

poojitha's avatar
poojitha
Contributor
4 months ago

Why do PageScripts changes require a Community Restart?

Hello ,
While implementing PageScripts, I noticed that changes are not reflected immediately, even though I tried using the Switching the Branch to Preview Changes option.

 For every minor change in a script, I still have to push the code to the stage-main branch and then restart the community instance in order to see the update. This has been impacting the development workflow, because even small adjustments (like a console log or a minor script edit) require a full restart of the instance to validate.

Upon enquiring with Khoros Support, I received the following response:

"You are following the intended and documented development workflow. At this time, Aurora does not support real-time preview of PageScripts via branch switching; script changes will only reflect after merging and restarting the staging instance. If this workflow changes in future releases, updates will appear in Khoros Aurora release notes or documentation."

 

Has anyone else experienced the same? Is this the expected behavior for all communities, or have you found any workaround to preview PageScripts without a restart?

Looking forward to hearing the experiences of other community teams.

3 Replies

  • xod's avatar
    xod
    Contributor
    3 months ago

    Looking forward to hearing the experiences of other community teams.

  • LucyL's avatar
    LucyL
    Khoros Staff
    3 months ago

    It's as Poojitha and David said. That's how the process is at the moment.