Skip to content

lydell/elm-watch

Repository files navigation

elm-watch

elm make in watch mode. Fast and reliable.

elm-watch recompiles whenever your Elm files change and reloads the compiled JS in the browser.

Installation

npm install --save-dev elm-watch

ℹ️ You need to install Elm itself separately, in whatever way you prefer (installer, npm, unofficial npm, elm-tooling).

ℹ️ Node.js 16 or newer is required.

npx elm-watch --help

ℹ️ The rest of the documentation has moved!

👉 https://lydell.github.io/elm-watch/

There are a bunch of links elsewhere that go straight to headings in this readme, so I’ve kept them around.


Getting started

👉 https://lydell.github.io/elm-watch/getting-started/

What elm-watch is

👉 https://lydell.github.io/elm-watch/what-elm-watch-is/

What elm-watch is not

👉 https://lydell.github.io/elm-watch/what-elm-watch-is-not/

Ideas for the future

👉 https://lydell.github.io/elm-watch/what-elm-watch-is/#ideas-for-the-future

Browser UI

👉 https://lydell.github.io/elm-watch/browser-ui/

Clickable error locations

👉 https://lydell.github.io/elm-watch/browser-ui/#clickable-error-locations

elm-watch.json

👉 https://lydell.github.io/elm-watch/elm-watch.json/

targets

👉 https://lydell.github.io/elm-watch/elm-watch.json/#targets

postprocess

👉 https://lydell.github.io/elm-watch/postprocess/

Warning: “Bricked” setup

👉 https://lydell.github.io/elm-watch/postprocess/#warning-bricked-setup

External process

👉 https://lydell.github.io/elm-watch/postprocess/#external-process

elm-watch-node

👉 https://lydell.github.io/elm-watch/postprocess/#elm-watch-node

Postprocess notes

👉 https://lydell.github.io/elm-watch/postprocess/#postprocess-notes

Hot reloading

👉 https://lydell.github.io/elm-watch/hot-reloading/

HTTPS

👉 https://lydell.github.io/elm-watch/https/

Comparison to other tools

👉 https://lydell.github.io/elm-watch/comparison-to-other-tools/

elm-watch vs generic watcher tools

👉 https://lydell.github.io/elm-watch/comparison-to-other-tools/#elm-watch-vs-generic-watcher-tools

elm-watch vs build tools with Elm support

👉 https://lydell.github.io/elm-watch/comparison-to-other-tools/#elm-watch-vs-build-tools-with-elm-support