def check!
    return unless @files
    @file_list = file_list( @files )
    new_signature = signature( @file_list )
    if @signature != new_signature
      # reload file list
      puts "* Aerogel::Reloader reloading: #{@file_list}, group: #{@group}"
      if @group
        # invoke :before group actions
        Aerogel::Reloader.reloaders.select{|r| r.group == @group && r.opts[:before] }.each do |r|
          r.action.call @file_list
        end
      end
      @action.call @file_list
      @signature = new_signature
      if @group
        # invoke :after group actions
        Aerogel::Reloader.reloaders.select{|r| r.group == @group && r.opts[:after] }.each do |r|
          r.action.call @file_list
        end
      end
    end
  end
def check!
    return unless @files
    @file_list = file_list( @files )
    new_signature = signature( @file_list )
    if @signature != new_signature
      # reload file list
      puts "* Aerogel::Reloader reloading: #{@file_list}, group: #{@group}"
      if @group
        # invoke :before group actions
        Aerogel::Reloader.reloaders.select{|r| r.group == @group && r.opts[:before] }.each do |r|
          r.action.call @file_list
        end
      end
      @action.call @file_list
      @signature = new_signature
      if @group
        # invoke :after group actions
        Aerogel::Reloader.reloaders.select{|r| r.group == @group && r.opts[:after] }.each do |r|
          r.action.call @file_list
        end
      end
    end
  end
Checks if files are changed and reloads if so.