Skip to content

Allow for apps to disable page reload livesyncs #1517

@hdeshev

Description

@hdeshev

Why

Page reload syncs are completely unsupported in Angular apps, and realoading a page completely breaks the app.

What

We need a way to disable page reload syncs for Angular apps, and always restart the app.

How

Certainly not like this. Funny hacks aside, here's what comes to mind:

  • We can check package.json for an angular2 dependency.
  • We can introduce a CLI option like --no-page-reloads
  • We can expose additional hooks in some module that the nativescript-angular code overrides and disables page reloads.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions