File watcher example.

Taken from Node.js the Right Way, but with additions.