Merge pull request #4 from shallker-wang/master

Fixed the exclusion will match any directory path with a '*git/'
Fix error when createServer() with no arguments.

Previous code tried to access 'server' property of undefined.
Merge pull request #5 from Leftium/default-config

Fix error when createServer() called with no arguments.