Skip to content
Browse files

Update README with updated method for starting the server.

  • Loading branch information...
1 parent c992792 commit 105f027e37753ab662f4f4945305c007b2ac1926 @tristandunn committed Apr 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.markdown
View
4 README.markdown
@@ -30,8 +30,8 @@ Pusher.host = PusherFake.configuration.web_host
Pusher.port = PusherFake.configuration.web_port
# Start the fake web server.
-Thread.new { PusherFake::Server.start }.tap do |thread|
- at_exit { thread.exit }
+fork { PusherFake::Server.start }.tap do |id|
+ at_exit { Process.kill("KILL", id) }
end
# Reset channels between scenarios.

0 comments on commit 105f027

Please sign in to comment.
Something went wrong with that request. Please try again.