I just added auto clean and format on save.
https://github.com/bootstraponline/appium/commit/0593ca7e1c92d888df52329d3f0f7c00d22690b4