Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elmid

Like ghcid, but for Elm!

A CLI filesystem watcher that runs elm make automatically and gives you the errors grouped by files, in a collapsible format.

⚠️ Linux only, for now. See issue #1 for details.

elmid in action

Usage

$ elmid src/Main.elm
Usage: elmid [--elm-path ELM_PATH]
             [--watched-folder PATH]
             [--ignored-folder FOLDER]
             [--main-cwd PATH]
             MAIN_PATH

If in doubt, run elmid --help.

Building

Have stack installed. Then cloning this repo and running stack build / stack install should be enough.

TODO

  • MacOS support!!
  • watch for creation of new directories and start watching them too
  • ellipsis-clamp the path from the left so that the filename is always shown
  • debounce
  • after successful Elm compiler run, run elm-review too and display its errors similarly
  • show the line number in the collapsed view
  • check for Debug.log and warn user about them (should still be "All good" even if they're there)

About

ghcid, but for Elm, and expandable

Resources

Stars

24 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages