Skip to content

Commit 0c6ea78

Browse files
Remove EventedFileUpdateChecker#updated? caveat [ci-skip]
Since rails#39718, `EventedFileUpdateChecker#updated?` no longer always returns `true` after a fork.
1 parent 9dbf7a5 commit 0c6ea78

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

activesupport/lib/active_support/evented_file_update_checker.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ module ActiveSupport
1717
# EventedFileUpdateChecker#execute is run or when EventedFileUpdateChecker#execute_if_updated
1818
# is run and there have been changes to the file system.
1919
#
20-
# Note: Forking will cause the first call to `updated?` to return `true`.
21-
#
2220
# Example:
2321
#
2422
# checker = ActiveSupport::EventedFileUpdateChecker.new(["/tmp/foo"]) { puts "changed" }

0 commit comments

Comments
 (0)