Method: Spring::Server#ignore_signals
- Defined in:
- lib/spring/server.rb
#ignore_signals ⇒ Object
Ignore SIGINT and SIGQUIT otherwise the user typing ^C or ^\ on the command line will kill the server/application.
103 104 105 |
# File 'lib/spring/server.rb', line 103 def ignore_signals IGNORE_SIGNALS.each { |sig| trap(sig, "IGNORE") } end |