Fix for resolving compiling promise
Always invalidate cache for imports