turn of project dir scan caching - so file list is always up-to-date
authorAlan <alan@roojs.com>
Thu, 4 Aug 2022 07:34:23 +0000 (15:34 +0800)
committerAlan <alan@roojs.com>
Thu, 4 Aug 2022 07:34:23 +0000 (15:34 +0800)
src/Project/Project.vala

index 42aff3a..4fadcf0 100644 (file)
@@ -572,9 +572,10 @@ namespace Project {
                 
                public void  scanDirs() // cached version
                {
-                       if (this.is_scanned) {
-                               return;
-                       }
+                       // -- why cache this - is it that slow?
+                       //if (this.is_scanned) {
+                       //      return;
+                       //}
                        this.scanDirsForce();
                        //console.dump(this.files);