Starting the development server
This page provides instructions on how to start Caplin Trader 5’s development server.
Start the development server
To serve the application during development, follow the steps below:
-
From the root directory of your application, execute the command below to start a local web server:
$ yarn run start
-
Open Google Chrome and navigate to http://localhost:8080
Start the development server with HMR
CT5 supports Webpack’s Hot Module Replacement (HMR), which updates JavaScript modules while your application is running in a browser, without a full reload.
To start the development server with HMR enabled, follow the steps below:
-
From the root directory of your application, execute the command below:
$ yarn run start -- --hot
-
Open Google Chrome and navigate to http://localhost:8080
Troubleshooting
For information on common issues and their resolution, see the Troubleshooting section in Building an application.