Add node_modules to gitignore.
Add isDir argument to relevant events.
Merge pull request #1 from codio/isDir

Add isDir argument to the relevant events.