Refactors asset recompile in development mode hack