Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rake preview leaves rb-fsevent running in the background #1119

Closed
ghost opened this issue Mar 12, 2013 · 7 comments
Closed

rake preview leaves rb-fsevent running in the background #1119

ghost opened this issue Mar 12, 2013 · 7 comments
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Mar 12, 2013

After running rake preview and quitting with control-C, this process stays running in the background until I kill it manually:

71890 ttys000    0:00.01 /Users/sasha/.rvm/gems/ruby-1.9.3-p374/gems/rb-fsevent

I'm on a Mac running 10.7.5 and the most recent version of octopress and obviously ruby 1.9.3-p374. I'll look into fixing this if anyone else is seeing the same thing.

@parkr
Copy link
Collaborator

parkr commented Mar 12, 2013

Still exist on the 2.1 branch? That's the dev branch at the moment.

@ghost
Copy link
Author

ghost commented Mar 12, 2013

I'm running 2.0 for my blog but just cloned 2.1 and the process still lingers.

@parkr
Copy link
Collaborator

parkr commented Mar 12, 2013

Weiiiiird. Ok, I'll take a look at some point if you don't get to it first :)

@sursh
Copy link

sursh commented Mar 21, 2013

OK I dug into this a bit. Looks like fsevent is spawned by guard to watch for file changes. When you interrupt rake with control-c, it sends a KILL to child processes, and guard doesn't handle it well, so fsevent stays alive.

Sending QUIT works well though. What do you think?

@parkr
Copy link
Collaborator

parkr commented Mar 25, 2013

I think QUIT will work just fine.

@parkr
Copy link
Collaborator

parkr commented Mar 25, 2013

Merged #1140.

@parkr parkr closed this as completed Mar 25, 2013
@scottdavis
Copy link

You may want to notify the listen project which is the core of guard

@parkr
Copy link
Collaborator

parkr commented Mar 25, 2013

Good catch. I'll go look for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants