remy/nodemon — pull request #375 by rosshettel (2014-07-21 21:34:44+00:00)
Title: Give ignore rules priority over watched directories

This changes the sorting of rules in the match() function to prioritize ignore rules so they match first. This keeps the [described behavior](https://github.com/remy/nodemon/blob/787bebf1ac635c79f0a0d8fc1921ef338f0e1779/faq.md#what-has-precedence-ignore-or-watch) when a user watches a directory, but ignores a specific file within that directory.

Also, this is my first OSS pull request, so if I've mis-formatted something or otherwise done something wrong, please let me know and I'll happily fix it.

Fixes #372