Scripts: clear modification stamps cache when script dependencies cache is cleared
Otherwise it prevents script dependencies reloading It may occur when script definitions are reloaded, cache is cleared, but dependencies aren't reloaded ^KT-31826 Fixed
This commit is contained in:
+1
@@ -169,6 +169,7 @@ class ScriptsCompilationConfigurationCache(private val project: Project) {
|
||||
val keys = scriptDependenciesCache.getAll().map { it.key }.toList()
|
||||
|
||||
scriptDependenciesCache.clear()
|
||||
scriptsModificationStampsCache.clear()
|
||||
|
||||
onChange(keys)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user