Coal has a local development server to help you test your project locally and handle serving of HTML, CSS, JS, and images.
By using the default serve mode, Coal will expect a folder called ./src and run on port
8041
coal serve
To set the source folder of the project, provide it to serve as an argument.
coal serve --source my_source/
coal serve -s my_source/
To set the port of the dev server, provide it to serve as an argument.
coal serve --port 1337
coal serve -p 1337
For more detailed information, see CLI documentation.