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

fix(local): only force kill on Windows #370

Merged
merged 1 commit into from
Jul 21, 2017

Conversation

acburdine
Copy link
Member

@acburdine acburdine commented Jul 21, 2017

closes #368

  • force killing on mac/linux doesn't allow the child process (ghost run) to kill the ghost server process, resulting in a orphan process that the user has to kill manually
  • on windows force: true works because fkill kills the process tree, which includes the ghost server

--

  • test on Windows

@coveralls
Copy link

Coverage Status

Coverage remained the same at 57.848% when pulling fe000e7 on acburdine:fix/kill into 991e7e9 on TryGhost:master.

closes TryGhost#368
- force killing on mac/linux doesn't allow the child process (ghost run) to kill the ghost server process, resulting in a orphan process that the user has to kill manually
- on windows force: true works because fkill kills the process tree, which includes the ghost server
- remove windows-specific code from TryGhost#366 as it actually didn't do
anything
@coveralls
Copy link

Coverage Status

Coverage remained the same at 57.848% when pulling e2eee83 on acburdine:fix/kill into 991e7e9 on TryGhost:master.

@acburdine acburdine merged commit be95343 into TryGhost:master Jul 21, 2017
@acburdine acburdine deleted the fix/kill branch July 21, 2017 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Local dev server does not shut down on correctly, throws fatal error on attempted restart.
2 participants