Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#12126) Implement reloading changed files
This adds a reload_changed method to the autoloader. It checks all loaded files for changes (based on the mtime of the files) and reload any paths that have changed. Deleted files are still listed as loaded since there is no way to actually unload code in Ruby.
- Loading branch information
Showing
2 changed files
with
73 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters