linter-elm-make
Always Compile Main: Yes
You can have the main paths set per project with file linter-elm-make.json
and content like:
{
"mainPaths": [
"src/elm/Main.elm"
]
}
linter-ui-default
Panel Represents: Entire Project
Status Bar Represents: Entire Project
output aka don't compile twice
If you also want to change the output of linter-elm-make
you have to hack it. Edit file ~/.atom/packages/linter-elm-make/lib/linter-elm-make.js
. Change line with --output=/dev/null
to
let args = [inputFilePath, '--report=json', '--output=dist/js/elm.js', '--debug', '--yes'];
And restart atom.
- Relevant issue mybuddymichael/linter-elm-make#107
- Also for me on Windows, linter-elm-make couldn't use elm-make when elm installed from npm. I had to install elm from executable.
- Look how this way is intergrated with browsersync https://github.com/rofrol/elm-navigation-example.