Simplify chokidar event handler
Ensure only file events are acted upon
Merge pull request #271 from es128/patch-1

Simplify chokidar event handler