How to compile Elm files on save

When writing JavaScript I am used to have a tool like Webpack or Browserify that automatically compiles the code whenever I save my changes. Therefore one of the first things I wanted to do in Elm is to set up the same workflow.