Hi!

After invoking the "save" command, `linter-elm-make` will execute the 
elm-make process behind the scenes (the specific event in Atom is 
`onDidSave`).  AFAIK, `atom-beautify` is also waiting for the `onDidSave` 
event.  It now depends on which of these 2 packages will handle that event 
first and which will finish first since they are both are async (using 
promises).

I would suggest using https://atom.io/packages/elm-format instead.  The 
difference with `atom-beautify` is that `elm-format` (the Atom package) 
listens on `onWillSave` instead (triggered before saving) and waits for the 
elm-format process to finish (sync).  It is then guaranteed that the code 
will be formatted before linting kicks in.  If you still experience the 
same behavior, try submitting an issue to `linter-elm-make`.

Cheers!

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to