start
or webpack-start
is a command-line tool that starts the React Native development server with webpack integration.
In the root of an existing React Native project with Re.Pack, run this command in your terminal of choice:
--port
number
The port number that runs the server on.
--host
string
""
Set the server host.
--https
boolean
Enables HTTPS connections to the server.
--key
path
Path to custom SSL key.
--cert
path
Path to custom SSL certificate.
--no-interactive
boolean
Disables interactive mode.
--json
boolean
Log all messages to the console/stdout in JSON format.
--log-file
path
Enables file logging to specified file.
--log-requests
boolean
Enables logging of all requests to the server.
--platform
string
Run the dev server for the specified platform only. By default, the dev server will bundle for all platforms.
--no-reverse-port
boolean
Disables running ADB reverse automatically when bundling for Android.
--reset-cache
,--resetCache
boolean
Resets the transformation cache.
--verbose
boolean
Enables verbose logging.
--config
path
Path to a bundler config file, e.g webpack.config.js.
--webpackConfig
path
--config
insteadPath to a bundler config file, e.g webpack.config.js.
-h
,--help
Display help for command.