Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is there many instances of "fsevent_watch" under Ruby in mac?

Tags:

ruby

fsevents

Now I have 21 instances of "fsevent_watch" for which the parent process & process group is "ruby".

I am developing a rails project but nothing is currently running now. The server I started earlier was closed by using cntrl+C. I am on a mac.

How is it getting created? Shouldn't it be closed after the ruby application is closed?

like image 863
user7579349 Avatar asked Mar 04 '17 21:03

user7579349


1 Answers

It is caused by spring server that is running in the background for your Rails application.

You can check the spring status by,

spring status

Then, stop the spring server by,

spring stop

This will kill/close all the active processes that you see.

like image 193
Akshay Mohite Avatar answered Sep 27 '22 17:09

Akshay Mohite