/elm-watch

`elm make` in watch mode. Fast and reliable.

Primary LanguageTypeScriptMIT LicenseMIT

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