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:

  1. From the root directory of your application, execute the command below to start a local web server:

    npm start
  2. 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:

  1. From the root directory of your application, execute the command below:

    npm start -- --hot
  2. Open Google Chrome and navigate to http://localhost:8080