If I clone an elm project, open a .elm file and run elm-compile-buffer on it, elm make gives me a cryptic "file not found" error. Testing in a shell makes me think that elm make always looks for project-relative files (elm make Foo.elm from src/ doesn't work, but elm make src/Foo.elm does).
This makes me thing you want to stick something like the following where you assemble the command to run:
The code already does that, so I suspect that this issue a special case of #141: namely, I think you're using Elm 0.19 and should set elm-package-json to elm.json.
If I clone an elm project, open a
.elm
file and runelm-compile-buffer
on it,elm make
gives me a cryptic "file not found" error. Testing in a shell makes me think thatelm make
always looks for project-relative files (elm make Foo.elm
fromsrc/
doesn't work, butelm make src/Foo.elm
does).This makes me thing you want to stick something like the following where you assemble the command to run: