meteor/meteor — pull request #221 by mpj (2012-07-07 13:57:02+00:00)
Title: Exclude public/node_modules from monitoring

I'm currently trying to use npm modules in a somewhat sane way in my project. It seems like the method of choice at the moment is to stick them in public/node_modules:

http://stackoverflow.com/questions/10476170/how-can-i-deploy-node-modules-in-a-meteor-app-on-meteor-com

To me, this seems incredibly hacky. It SORT of works, but it will break down when developing in a mac if you have a lot of modules, because it ends up watching way too many files (http://stackoverflow.com/questions/11300969/error-watch-emfile-when-putting-node-modules-in-public)

In my opinion be much nicer if meteor simply ignored the node_modules directory - I've attached a commit suggesting how to do that.