Search code examples
ember.jswatchman

Why does the default Ember .watchmanconfig not ignore node_modules?


A lot of people have watchman issues (limits exceeded, etc.), and I looked through the default .watchmanconfig in Ember.

It looks like this:

{
  "ignore_dirs": ["tmp", "dist"]
}

It certainly makes sense to watch those two folders, but I'm wondering: why not also ignore node_modules? Are there any real disadvantages to that?


Solution

  • ...why not also ignore node_modules?

    Don't you want it to reload your app if you install/upgrade a node module?

    If all you need is auto-reload on your code changes, I'm assuming one could ignore the tests folder too.

    Sure, but when you run Ember in test mode, don't you want it to rerun your tests when they change?