Rescans the base paths to find new code files.

def rescan(self):
        """Rescans the base paths to find new code files."""
        self._pathfiles = {}
        for path in self.basepaths:
            self.scan_path(path)