public interface HMRClient extends JavaScriptModule
Modifier and Type | Method and Description |
---|---|
void |
enable(java.lang.String platform,
java.lang.String bundleEntry,
java.lang.String host,
int port)
Enable the HMRClient so that the client will receive updates
from the packager server.
|
void enable(java.lang.String platform, java.lang.String bundleEntry, java.lang.String host, int port)
platform
- The platform in which HMR updates will be enabled. Should be "android".bundleEntry
- The path to the bundle entry file (e.g. index.ios.bundle).host
- The host that the HMRClient should communicate with.port
- The port that the HMRClient should communicate with on the host.