title: eslint watch task running repeatedly
body: <p>I am trying to lint my files with eslint on file change using <code>npm scripts</code>:</p>
  
  <pre><code>"scripts": {                                                                   
    "lint": "eslint ./* lib",                                                    
    "lint:watch":"watch 'npm run lint' .",                                       
    "test": "echo \"Error: no test specified\" &amp;&amp; exit 1"                        
  }
  </code></pre>
  
  <p>I use the <a href="https://www.npmjs.com/package/watch" rel="noreferrer">watch</a> package to accomplish this.</p>
  
  <p>I find that the watch task runs infinitely in a loop. Does eslint write to a file in the app's root directory. If so, how can I teach watch to ignore the changes made by <code>eslint</code>.</p>
  
  <p>My <code>.eslintrc</code>, if nessecary:</p>
  
  <pre><code>{                                                                                
     "parser":"babel-eslint",                                                        
     "extends":"eslint:recommended",                                                 
     "rules":{                                                                       
        "strict":2,                                                                  
        "no-var":2,                                                                  
        "prefer-template":2,                                                         
        "prefer-arrow-callback":1,                                                   
        "prefer-rest-params":2,                                                      
        "prefer-spread":2,                                                           
        "object-shorthand":1,                                                        
        "no-duplicate-imports":2,                                                    
        "no-confusing-arrow":2,                                                      
        "comma-dangle":0                                                             
      }                                                                              
   }        
  </code></pre>