Development mode
During development mode we run on two terminals the following commands:
yarn run develop:components
yarn run develop:gatsby
The first will restart the development server (through nodemon) upon file changes and the second will start it.
Build mode
During build the server runs the following commands:
yarn
yarn run build:gatsby
yarn run build:components
The first will build the components and from that the second will build the pages.