Changeset 994
- Timestamp:
- 11/14/07 17:22:58 (10 months ago)
- Files:
-
- apps/rails_benchmark/script/benchmark (modified) (1 diff)
- trunk/lib/merb/server.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
apps/rails_benchmark/script/benchmark
r992 r994 12 12 ENV["EVENT"] = "1" 13 13 `mongrel_rails start -d -p 4000 -e production` 14 sleep 114 sleep 5 15 15 puts Dir[File.join(File.expand_path(__FILE__), "..", "log", "*.pid")] 16 16 puts Dir["#{File.dirname(__FILE__)}/../log/*.pid"].inspect trunk/lib/merb/server.rb
r991 r994 332 332 # First we collect all files in the project (this will also grab newly added files) 333 333 project_files = MERB_PATHS.map { |path| Dir[@@merb_opts[:merb_root] + path] }.flatten.uniq 334 erb_partials = template_paths ("_*.erb").map { |path| Dir[path] }.flatten.uniq334 erb_partials = template_paths.map { |path| Dir[path] }.flatten.uniq 335 335 project_mtime = max_mtime(project_files + erb_partials) # Latest changed time of all project files 336 336
