Improve mix docs
Ensure deps are not recompiled every second time, closes #2471