# File src/Application.rb, line 171
        def reloadModified(component_class=nil,only_if_singular=nil,import_call=false)
                mylog = Logger['iowa_log']
                pathlist = nil
                
                classname = component_class.to_s.split('::').pop.to_s
                if (reload_scan_mode == 'singular' and classname != nil)
                        pathlist = [pathForName(component_class)]
                elsif (reload_scan_mode != 'singular' and !only_if_singular)
                        fileRegex = Regexp.new('\.view$|\.vew$|\.htm$|\.html$')
                        # Using a proc here because, for some reason, I don't want to use
                        # a method.  Probably stupid.
                        search_proc = proc do |dirpath|
                                r = []
                                Dir.foreach(dirpath) do |filename|
                                        next if filename == '.' or filename == '..' or /^\./.match(filename) or /^[a-z]/.match(filename)
                                        fullname = "#{dirpath}/#{filename}"
                                        if FileTest.directory? fullname
                                                r.concat(search_proc.call(fullname))
                                        elsif fileRegex.match(filename)
                                                r.push fullname.gsub(/\/\//,'/')
                                        end
                                end
                                r
                        end
                        pathlist = search_proc.call(@docroot)
                end
                
                if pathlist
                        if import_call
                                reloadLoop(pathlist)
                        else
                                @templateLock.synchronize do
                                        reloadLoop(pathlist)
                                end
                        end
                end
        end