This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork40
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Webpack both Android and iOS simutaneously #457
Open
Description
CLI is able to executetns 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.
- Launchtwo separate
webpack
processes one for each platform. The issue with this approach would be that eachwebpack
process would watch the same files - this could lead to potential problems. - Launchone
webpack
process that handlesboth platforms.
Both approaches have the issue of when to stop thewebpack
process for a particular platform. For example the user has one android and one iOS device, launchestns 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 forlivesyncStopped
or by some other approach.