Add support for webpack watch. Fixes #2.

Take a look at adding `watch` this way.
Incapsulating `compiler` so that it's reused.

Also commented out `stream.end();` as it fails on my machine.