Skip to content

Smarter LiveSync #977

Description

@teobugslayer

Smarter LiveSync without restarts

  • CLI: Respect deleted files
  • CLI: When sending xml and css files to the device, do not restart the app
  • CLI: When syncing JS, images, fonts, or other resources - restart the entire app
  • CLI: Implement a dedicated tcp socket as communication channel between it and the runtimes
  • CLI: Notify runtimes after the files are on the device that the change had happened
  • CLI: Research if we can fast sync for other file types (mostly images)
  • CLI: Lower batch time in the cli to 250ms
  • CLI: Implement together batch livesync/restart with fast livesync

  • Android runtime: spike tcp socket as communication channel between it and the CLI.
  • Android: notify modules when files are changed and the current page must be reloaded - see bellow

  • iOS: notify modules when files are changed and the current page must be reloaded - see bellow

  • Modules: implement a global function (tentative name: __nativeScriptLiveSyncCallback). The run times will call it whenever the current page needs to be reloaded

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions