aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/file_update_checker.rb
Commit message (Collapse)AuthorAgeFilesLines
* FileUpdateChecker should be able to handle deleted files.José Valim2011-12-131-28/+45
|
* Clean up FileUpdateChecker API.José Valim2011-12-131-12/+13
|
* Speed up development by only reloading classes if dependencies files changed.José Valim2011-12-121-10/+33
| | | | | | | | This can be turned off by setting `config.reload_classes_only_on_change` to false. Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading. Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3
* Provide a dir => extension API to file update checker.José Valim2011-12-121-2/+41
|
* Update checker returns a boolean if callback was executed or not.José Valim2011-12-121-0/+3
|
* Allow FileUpdateChecker to work with globs.José Valim2011-12-121-1/+3
|
* Use shorter class-level File methods instead of going through File.stat.thedarkone2011-07-251-1/+1
|
* Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepareJohn Firebaugh2010-12-201-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Avoid calls to Rails::Application since this is not the official API.José Valim2010-07-011-6/+5
| | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
* Initialize @last_update_at in file_update_checker to hide warnings in AS ↵rohit2010-06-211-2/+2
| | | | | | test suite. Signed-off-by: José Valim <jose.valim@gmail.com>
* Add ActiveSupport::FileUpdateChecker.José Valim2010-06-201-0/+37