Changeset 208

Show
Ignore:
Timestamp:
09/23/2007 16:27:46 (15 months ago)
Author:
zimbatm
Message:

Okay, this is for ticket #128. Not reloading files with an mtime in the future.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/camping/reloader.rb

    r180 r208  
    8181        Reloader.conditional_connect 
    8282        @klass.create if @klass.respond_to? :create 
     83        puts "!! loaded #{title}" 
    8384        @klass 
    8485    end 
     
    9495                @mtime 
    9596            end 
    96         end.max 
     97        end.reject{|t| t > Time.now }.max 
    9798    end 
    9899