clearNpmModuleCache

void clearNpmModuleCache()

Clear the module cache.

Useful for testing or when you need to force reload modules.

Implementation

void clearNpmModuleCache() {
  _moduleCache.clear();
}