Skip to content

Development Setup

Thomas Weiser edited this page Nov 8, 2016 · 1 revision

Dev server and hot reloading

Webpack

We use a webpack configuration with

Start webpack and the server with:

> npm run dev

Optional: Colorized compiler messages

The Elm compiler is able to produce helpfully colorized error messages. Unfortunately these colors won't make it through webpack and elm-webpack-loader. As a workaround we can optionally use modd alongside with webpack. A configuration file modd.conf is included in this PR.

With modd and unbuffer installed colorful compiler messages can be shown by running:

> modd

Installation links for these tools:

Clone this wiki locally