Class: CheckFiles::Notifiers::Restart
- Defined in:
- lib/check_files/notifiers/restart.rb
Class Method Summary collapse
Class Method Details
.call(checker) ⇒ Object
6 7 8 9 |
# File 'lib/check_files/notifiers/restart.rb', line 6 def self.call(checker) $stderr << "\n\e[0;31m=> #{checker.pattern} has changed, so the web server was restarted. Please reload the page.\e[0m\n" # rubocop:disable Metrics/LineLength system "rails restart" end |