middleman/middleman — pull request #369 by bhollis (2012-04-23 02:03:32+00:00)
Title: Simplify watcher using newer listen features

I noticed we were working around two things that `listen` supports directly. One was the relative-path-izing stuff, which can be done by just passing `:relative_paths => true` to `Listen.to`. The other is to run the watcher in non-blocking mode, which I think means we don't need to do that whole fork/pidfile dance. I've run it this way and things still work - Ctrl-C kills the server, file updates are noticed, the preview server works fine.

This should fix #224 since we no longer fork.