{"action":"opened","issue":{"url":"https://api.github.com/repos/middleman/middleman/issues/1430","labels_url":"https://api.github.com/repos/middleman/middleman/issues/1430/labels{/name}","comments_url":"https://api.github.com/repos/middleman/middleman/issues/1430/comments","events_url":"https://api.github.com/repos/middleman/middleman/issues/1430/events","html_url":"https://github.com/middleman/middleman/issues/1430","id":55178645,"number":1430,"title":"Editing config.rb while server is running and then exiting crashes Middleman","user":{"login":"kasper","id":925851,"avatar_url":"https://avatars.githubusercontent.com/u/925851?v=3","gravatar_id":"","url":"https://api.github.com/users/kasper","html_url":"https://github.com/kasper","followers_url":"https://api.github.com/users/kasper/followers","following_url":"https://api.github.com/users/kasper/following{/other_user}","gists_url":"https://api.github.com/users/kasper/gists{/gist_id}","starred_url":"https://api.github.com/users/kasper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasper/subscriptions","organizations_url":"https://api.github.com/users/kasper/orgs","repos_url":"https://api.github.com/users/kasper/repos","events_url":"https://api.github.com/users/kasper/events{/privacy}","received_events_url":"https://api.github.com/users/kasper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-22T16:58:06Z","updated_at":"2015-01-22T16:58:06Z","closed_at":null,"body":"Editing config.rb while server is running and then exiting crashes Middleman 3.3.7 on Yosemite 10.10.1 and Ruby 2.2.0.\r\n\r\n```\r\nmiddleman-site $ bundle exec middleman\r\n== The Middleman is loading\r\n== The Middleman is standing watch at http://0.0.0.0:4567\r\n== Inspect your site configuration at http://0.0.0.0:4567/__middleman/\r\n== The Middleman is reloading\r\n== The Middleman has reloaded\r\n^C/Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/server.rb:333:in `cleanup_shutdown_pipe': undefined method `each' for nil:NilClass (NoMethodError)\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/server.rb:202:in `block in start'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/server.rb:32:in `start'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/server.rb:162:in `start'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/middleman-core-3.3.7/lib/middleman-core/preview_server.rb:36:in `block in start'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/middleman-core-3.3.7/lib/middleman-core/preview_server.rb:35:in `loop'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/middleman-core-3.3.7/lib/middleman-core/preview_server.rb:35:in `start'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/middleman-core-3.3.7/lib/middleman-core/cli/server.rb:78:in `server'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/middleman-core-3.3.7/lib/middleman-core/cli.rb:72:in `method_missing'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:29:in `run'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:126:in `run'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/middleman-core-3.3.7/lib/middleman-core/cli.rb:20:in `start'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/middleman-core-3.3.7/bin/middleman:18:in `<top (required)>'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/bin/middleman:23:in `load'\r\n\tfrom /Users/Kasper/.rbenv/versions/2.2.0/bin/middleman:23:in `<main>'\r\n```"}}