Elm Development
Required Tools
Always use these tools when working on Elm projects:
elm-test
Run tests after making changes:
elm-test
elm-review
Run static analysis after making changes:
elm-review
Workflow
- Make your changes to
.elmfiles - Run
elm-testto verify tests pass - Run
elm-reviewto catch common issues - Fix any reported problems before considering the task complete
Common Commands
elm make src/Main.elm # Compile
elm reactor # Development server
elm-test # Run tests
elm-review # Static analysis
elm-review --fix # Auto-fix issues
elm install <package> # Install package