elm make
in watch mode. Fast and reliable.
elm-watch recompiles whenever your Elm files change and reloads the compiled JS in the browser.
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.
👉 https://lydell.github.io/elm-watch/getting-started/
👉 https://lydell.github.io/elm-watch/what-elm-watch-is/
👉 https://lydell.github.io/elm-watch/what-elm-watch-is-not/
👉 https://lydell.github.io/elm-watch/what-elm-watch-is/#ideas-for-the-future
👉 https://lydell.github.io/elm-watch/browser-ui/
👉 https://lydell.github.io/elm-watch/browser-ui/#clickable-error-locations
👉 https://lydell.github.io/elm-watch/elm-watch.json/
👉 https://lydell.github.io/elm-watch/elm-watch.json/#targets
👉 https://lydell.github.io/elm-watch/postprocess/
👉 https://lydell.github.io/elm-watch/postprocess/#warning-bricked-setup
👉 https://lydell.github.io/elm-watch/postprocess/#external-process
👉 https://lydell.github.io/elm-watch/postprocess/#elm-watch-node
👉 https://lydell.github.io/elm-watch/postprocess/#postprocess-notes
👉 https://lydell.github.io/elm-watch/hot-reloading/
👉 https://lydell.github.io/elm-watch/https/
👉 https://lydell.github.io/elm-watch/comparison-to-other-tools/
👉 https://lydell.github.io/elm-watch/comparison-to-other-tools/#elm-watch-vs-generic-watcher-tools