We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 373fca7 commit cdb22f6Copy full SHA for cdb22f6
projectile.el
@@ -1098,7 +1098,9 @@ to invalidate."
1098
(remhash project-root projectile-projects-cache)
1099
(remhash project-root projectile-projects-cache-time)
1100
;; reset the project's cache file
1101
- (projectile-serialize nil (projectile-project-cache-file project-root))
+ (when (eq projectile-enable-caching 'persistent)
1102
+ ;; TODO: Perhaps it's better to delete the cache file in such cases?
1103
+ (projectile-serialize nil (projectile-project-cache-file project-root)))
1104
(when projectile-verbose
1105
(message "Invalidated Projectile cache for %s."
1106
(propertize project-root 'face 'font-lock-keyword-face))))
0 commit comments