rstacruz/npm-pipeline-rails

Prevent kill errors

rstacruz opened this issue · 0 comments

When pressing ^C, Process.kill sometimes happens with the process already exited (maybe cleanly) before it's able to kill it. It's a harmless error, but it can be suppressed to make things less confusing.

[npm-pipeline-rails] Terminating 'npm run start' [78253]
/.../gems/npm-pipeline-rails-1.1.3/lib/npm-pipeline-rails/railtie.rb:28:in `kill': No such process (Errno::ESRCH)
        from /.../gems/npm-pipeline-rails-1.1.3/lib/npm-pipeline-rails/railtie.rb:28:in `block in background'