counsyl/civet — pull request #1 by cmason1978 (2014-07-16 17:56:29+00:00)
Title: Don't inherit FDs when Popening sass.

When runserver launches sass, it uses Popen, which, by default, inherits the file descriptors of the parent process. This will include the listen socket used by runserver to accept web connections. When runserver restarts itself, it closes its port, but sass continues to listen there, causing address already in use errors in runserver:
```
Error: [Errno 48] Address already in use
```

```
(default)cmason:code cmason$ lsof -i :8000 | grep ruby
ruby 97338 cmason 16u IPv4 0xb475ce6f58cb6cfd 0t0 TCP *:irdmi (LISTEN)
```

We add the `close_fds` argument to `Popen` and this fixes the issue.