The usecase is this: complex enough project with ports code and SASS.
I want to have two modes:
- dev: where a watcher recompiles everything on any change to an elm file or the js files used in the ports code.
- prod: everything is compiled and optimized.
Ideally, the build manager should handle well errors thrown by the Elm compiler during the
dev phase. It should also handle well the scenario where a new Elm build is triggered before the previous one had a chance to finish (i.e. if I edit two files and the first save triggers a compilation that doesn’t finish before saving the second file)