Configuration
All default config values are in config/development.json
, to override these values you need to create a local config file.
- logging
firefoxProxy
Enables logging the Firefox protocol in the terminal running npm start
- chrome Chrome browser related flags
debug
Enables listening for remotely debuggable Chrome browsersport
web socket port specified when launching Chrome from the command linehost
host specified when launching Chrome from the command line
- node Node related flags
debug
Enables listening for remotely debuggable Node processesport
web socket port specified when connecting to nodehost
host specified when connecting to node
- firefox Firefox browser related flags
webSocketConnection
favours Firefox WebSocket connection over the firefox-proxyhost
The hostname used for connecting to FirefoxwebSocketPort
Port used for establishing a WebSocket connection with Firefox when webSocketConnection
is true
or with a firefox-proxy when webSocketConnection
is false
tcpPort
Port used by the firefox-proxy when connecting to FirefoxgeckoDir
Local location of Firefox source code only needed by project maintainers
- development Development server related settings
serverPort
Listen Port used by the development serverexamplesPort
Listen Port used to serve exampleshotReloading
enables Hot Reloading of CSS and ReactbaseWorkerURL
Location for where the worker bundles exist
Local config
You can create a configs/local.json
file to override development configs. This is great for enabling features locally or changing the theme. Copy the local-sample
to get started.
cp configs/local-sample.json configs/local-sample.json
The local.json
will be ignored by git so any changes you make won't be published, only make changes to the development.json
file when related to features removed or added to the project.