Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Webpack both Android and iOS simutaneously #457

Copy link
Copy link
Open
@Mitko-Kerezov

Description

@Mitko-Kerezov
Issue body actions

CLI is able to execute tns run without a platform which will build and deploy to both platforms and execute LiveSync for each of them.

This is currently not possible with --bundle. There are multiple ideas about how to go about this.

  1. Launch two separate webpack processes one for each platform. The issue with this approach would be that each webpack process would watch the same files - this could lead to potential problems.
  2. Launch one webpack process that handles both platforms.

Both approaches have the issue of when to stop the webpack process for a particular platform. For example the user has one android and one iOS device, launches tns run --bundle and later on disconnects the iOS device - webpack would need to know and stop bundling for the iOS platform.

This could be done by adding an event handler for livesyncStopped or by some other approach.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.