Correct cleaning of caches for incremental build inside the IDE