Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-23166

Add an update mechanism for hot reload

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.3
    • Component/s: Runtime
    • Release Notes Description:
      Hide

      Hot-reload has been optimized so as to limit the number of components that are reloaded, also making sure that they are loaded only once during the process.

      Show
      Hot-reload has been optimized so as to limit the number of components that are reloaded, also making sure that they are loaded only once during the process.
    • Sprint:
      nxcore 9.3.7
    • Story Points:
      5

      Description

      We want to add an update mechanism for hot reload in order to speed up it.

      Currently each time we deploy or undeploy a bundle, we need to refresh the whole components stack. Currently, we refresh the components stack at least twice when hot reloading a dev bundle or a studio jar.
      Also, we face the same issue if we want to hot reload several bundles.

      The idea is to add an update mechanism directly in the ReloadService. As it, we will refresh the components stack only once.

      This API should handle undeploy/deploy several bundles at the same time.

      Connect this new API to hot reload dev bundles feature.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 days, 3 hours
                  4d 3h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.