rails/rails — comment on commit fa1d9a884c0d5b70c97442e3360ac98ca5fa4340
File: railties/test/application/console_test.rb line 65
By josevalim:

FWIW, the sleep is required because `File.mtime` just changes after 1s. So if we don't sleep, the reloader cannot pick up file system changes.